diff --git a/Makefile b/Makefile index da923b5bcfeb0e94bc1c81f58413bf73e4ccc64d..5dbc28b61a6ee981b9f4f5605bff230f3a59d624 100644 --- a/Makefile +++ b/Makefile @@ -53,3 +53,6 @@ db_image: ## start postgres and redis to test the latest image test_image: ## run the tests (on the latest image) # Pass docker-compose.yml to skip docker-compose.override.yml docker-compose -f docker-compose.yml run --rm web + +run_uwsgi: ## run the application with uwsgi (to test prod env) + docker-compose run -p 8000:8000 --rm web uwsgi --master --http 0.0.0.0:8000 --http-keepalive --manage-script-name --mount /csentry=wsgi.py --callable app --uid ics --processes 2