-
Do not forget to use the virtual python env:
python3 -m venv .venv source .venv/bin/activate
-
Instal the dependencies:
pip install -r requirements.txt; pip install -r test_requirements.txt;
-
Check whether the app works, start it, and use
curl
to call the app web api:PYTHONPATH=. FLASK_APP=hello_world flask run
curl 127.0.0.1:5000
curl 127.0.0.1:5000/outputs
curl '127.0.0.1:5000/?output=json'
-
What is the code without tests:
PYTHONPATH=. py.test --verbose -s
-
Let's lint our code:
flake8 hello_world test main.py
-
Place for your notes:
-
Notifications
You must be signed in to change notification settings - Fork 0
Shakkael/hello_world_app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published