Skip to content
Snippets Groups Projects
Commit 900a0a81 authored by Martin Mareš's avatar Martin Mareš
Browse files

Instalace: Lokální spouštění pomocí bin/flask

parent 34887ef3
No related branches found
No related tags found
No related merge requests found
...@@ -5,10 +5,14 @@ ...@@ -5,10 +5,14 @@
python3 -m venv venv python3 -m venv venv
. venv/bin/activate . venv/bin/activate
pip install wheel pip install wheel
pip install -c constraints.txt -e . pip install -c constraints.txt --editable .
# vytvořit mo/web/config.py podle etc/config.py.example # vytvořit mo/web/config.py podle etc/config.py.example
mkdir -p data/imports mkdir -p data/imports
bin/flask run
# Po běžných úpravách není potřeba balíček přeinstalovávat
## Instalace na produkční server ## Instalace na produkční server
# Založit účet mo-web (jako root) # Založit účet mo-web (jako root)
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment