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
1df5af3d
Commit
1df5af3d
authored
2 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade Flasku: FLASK_APP a FLASK_ENV jsou deprecated
parent
4439ba3c
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
bin/flask
+1
-4
1 addition, 4 deletions
bin/flask
mo-api-test/flask
+1
-3
1 addition, 3 deletions
mo-api-test/flask
with
2 additions
and
7 deletions
bin/flask
+
1
−
4
View file @
1df5af3d
#!/bin/sh
export
FLASK_APP
=
mo.web
export
FLASK_ENV
=
development
flask
"
$@
"
exec
flask
--app
mo.web
--debug
"
$@
"
This diff is collapsed.
Click to expand it.
mo-api-test/flask
+
1
−
3
View file @
1df5af3d
#!/bin/sh
export
FLASK_APP
=
app
export
FLASK_ENV
=
development
flask
"
$@
"
exec
flask
--app
app
--debug
"
$@
"
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