Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
900a0a81
Commit
900a0a81
authored
4 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Instalace: Lokální spouštění pomocí bin/flask
parent
34887ef3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-1
5 additions, 1 deletion
README.md
bin/flask
+0
-0
0 additions, 0 deletions
bin/flask
with
5 additions
and
1 deletion
README.md
+
5
−
1
View file @
900a0a81
...
@@ -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 -
-editabl
e .
# 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)
...
...
This diff is collapsed.
Click to expand it.
flask
→
bin/
flask
+
0
−
0
View file @
900a0a81
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment