Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 662 Bytes

File metadata and controls

56 lines (40 loc) · 662 Bytes

Hélène Boersma

Python-Serving-Testing

Run the python website

In order to test the programme, launch this commands :

docker build -t my_sample_app .
docker run my_sample_app

After that run in another terminal :

docker-compose up

Don't forget to run :

flask run

Result

Tests Results

In a new terminal, run :

python -m pytest unit_test_app.py

Stop running the app

docker-compose down

Check the container ID with :

docker ps

Stop it :

docker stop XXXX