backend / Makefile
praneethys's picture
apis for generate p&l (#9)
a4ef0c7 verified
raw
history blame contribute delete
No virus
394 Bytes
include .env
build-postgres:
docker build -t codepath_project_postgres -f Dockerfile.local.postgres .
run-postgres:
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=${POSTGRES_PASSWORD} -e POSTGRES_USER=${POSTGRES_USER} --name ${POSTGRES_DB_NAME} codepath_project_postgres
run-migrations:
alembic upgrade head
generate-migrations:
alembic revision --autogenerate -m "$(migration_title)"