Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 794 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 794 Bytes

Flask REST Example

*nix Instructions

  • Setup:
    • Run setup.sh.
  • Start Server:
    • source venv/bin/activate
    • ./app.py
  • Testing:
    • Open http://localhost:5000/index.html on your web browser.
    • Or ./test.py to run the unit-tests.
    • Or ./bin/tests/sunny.sh to run the sunny-day tests.
    • Or ./bin/tests/rainy.sh to run the rainy-day tests.

Windows Instructions

  • Setup:
    • Run setup.bat.
  • Start Server:
    • workon venv
    • python app.py
  • Testing:
    • Open http://localhost:5000/index.html on your web browser.
    • Or python test.py to run the unit-tests.