Skip to content

Commit

Permalink
Merge pull request #1007 from openedx/pwnage101/fix-make-dev-migrate
Browse files Browse the repository at this point in the history
fix: make dev.migrate / make dev.makemigrations app path
  • Loading branch information
pwnage101 authored Dec 4, 2024
2 parents ae60146 + 1d00390 commit 782e196
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 782e196

Please sign in to comment.