|
|
@ -23,8 +23,11 @@ up: ## Start containers
|
|
|
|
down: ## Stop containers
|
|
|
|
down: ## Stop containers
|
|
|
|
docker-compose down
|
|
|
|
docker-compose down
|
|
|
|
|
|
|
|
|
|
|
|
dbshell:
|
|
|
|
logs: ## View container logs
|
|
|
|
docker-compose exec db psql -U nerochan
|
|
|
|
docker-compose down
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dbshell: ## Start interactive database session
|
|
|
|
|
|
|
|
sqlite3 data/sqlite.db
|
|
|
|
|
|
|
|
|
|
|
|
shell: ## Start Flask CLI shell
|
|
|
|
shell: ## Start Flask CLI shell
|
|
|
|
./manage.sh shell
|
|
|
|
./manage.sh shell
|
|
|
@ -34,3 +37,6 @@ init: ## Initialize SQLite DB
|
|
|
|
|
|
|
|
|
|
|
|
dev: ## Start Flask development web server
|
|
|
|
dev: ## Start Flask development web server
|
|
|
|
./manage.sh run
|
|
|
|
./manage.sh run
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prod: ## Start Gunicorn production web server
|
|
|
|
|
|
|
|
./manage.sh prod
|
|
|
|