From 309d7f30271472272e32c23cc9a069796292307c Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 8 Dec 2022 21:42:00 -0800 Subject: [PATCH] update makefile --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b844182..e1bee0d 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,11 @@ up: ## Start containers down: ## Stop containers docker-compose down -dbshell: - docker-compose exec db psql -U nerochan +logs: ## View container logs + docker-compose down + +dbshell: ## Start interactive database session + sqlite3 data/sqlite.db shell: ## Start Flask CLI shell ./manage.sh shell @@ -34,3 +37,6 @@ init: ## Initialize SQLite DB dev: ## Start Flask development web server ./manage.sh run + +prod: ## Start Gunicorn production web server + ./manage.sh prod