Skip to content

Commit

Permalink
fix: make dev.migrate / make dev.makemigrations app path
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnage101 committed Dec 4, 2024
1 parent ae60146 commit 1d00390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ dev.provision:
dev.init: dev.up dev.migrate # start the docker container and run migrations

dev.makemigrations:
docker exec -it enterprise.catalog.app bash -c 'cd /edx/app/enterprise_catalog/enterprise_catalog && python3 manage.py makemigrations'
docker exec -it enterprise.catalog.app bash -c 'cd /edx/app/enterprise-catalog && python3 manage.py makemigrations'

dev.migrate: # Migrates databases. Application and DB server must be up for this to work.
docker exec -it enterprise.catalog.app bash -c 'cd /edx/app/enterprise_catalog/enterprise_catalog && make migrate'
docker exec -it enterprise.catalog.app bash -c 'cd /edx/app/enterprise-catalog && make migrate'

dev.up: dev.up.redis # Starts all containers
docker-compose up -d
Expand Down

0 comments on commit 1d00390

Please sign in to comment.