Spaces:
Sleeping
Sleeping
Download Makefile from praneeth-hakeem-patrick/backend: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/praneeth-hakeem-patrick/backend/resolve/main/Makefile
- Command line
-
hf download hf://spaces/praneeth-hakeem-patrick/backend/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/praneeth-hakeem-patrick/backend/resolve/main/Makefile
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)" |