Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 409 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 409 Bytes

Flask restAPI

To run execute these commands in terminal

> pipenv shell
> ./runserver.sh
#### What is in script?

> to Determine the app:
    * export FLASK_APP=app.py
> to change the environment to developement:
    * export FLASK_ENV=development
> to enable debug mode:</br>
(if you ran the prev command this is not required.)
    * export FLASK_DEBUG=1
> flask run --host HOST --port PORT