patrikarlos/NSO_A2
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
#Simple flask services/applications for various assignments. # # main.py: Online calculator, supports only 'add'. # application2.py: Replies with a string containing the Time and hostname. # assignment2.py: Replies with an HTML formatted string containing the Time and hostname. #export FLASK_APP=<filename> #export FLASK_RUN_HOST=<localhost|0.0.0.0> #export FLASK_RUN_PORT=8210 Usage Example: export FLASK_APP=main.py export FLASK_RUN_HOST=localhost export FLASK_RUN_PORT=8210 flask run