mirror of
https://git.wownero.com/lza_menace/wowstash.git
synced 2024-08-15 00:33:15 +00:00
Merge branch 'master' of git.wownero.com:lza_menace/wowstash into seed-restores
This commit is contained in:
commit
cfa81cf6d5
1 changed files with 23 additions and 0 deletions
23
Makefile
Normal file
23
Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
.PHONY: format help
|
||||
|
||||
# Help system from https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
setup: ## Setup Python virtual environment
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install -r requirements.txt
|
||||
|
||||
up: ## Bring up backend containers
|
||||
docker-compose up -d
|
||||
|
||||
down: ## Bring down backend containers
|
||||
docker-compose down
|
||||
|
||||
dev: ## Start development server
|
||||
./bin/dev
|
||||
|
||||
dbshell: ## Start interactive session with database
|
||||
docker-compose exec db psql -U wowstash
|
Loading…
Reference in a new issue