Go to the cloned folder
pip install -r requirements.txt
python3 src/app.py
Open another terminal and run:
Standard request:
curl -X GET http://127.0.0.1:5000/
You should see '<p>Hello, World</p>'
replay
Request with 'Accept header'
curl -X GET -H "Accept: application/json" http://127.0.0.1:5000/
You should see this replay: { "message": "Good morning" }
For unit tests run:
pytest --disable-warnings
You should see that 2 tests are passed
python setup.py install