parent
d7dfc47fbe
commit
8c61d6ea7f
10 changed files with 52 additions and 114 deletions
@ -1,39 +0,0 @@ |
||||
|
||||
.PHONY: all build up run start stop migrate loaddata collectstatic |
||||
|
||||
all: build migrate loaddata |
||||
|
||||
build: |
||||
docker-compose build |
||||
|
||||
run: |
||||
docker-compose up -d |
||||
|
||||
up: |
||||
docker-compose up -d |
||||
|
||||
down: |
||||
docker-compose down |
||||
|
||||
start: |
||||
docker-compose start |
||||
|
||||
stop: |
||||
docker-compose stop |
||||
|
||||
migrate: |
||||
docker-compose exec web python src/manage.py migrate myauth |
||||
docker-compose exec web python src/manage.py migrate |
||||
|
||||
loaddata: |
||||
docker-compose exec web python src/manage.py loaddata src/myauth/fixtures/myauth.json |
||||
docker-compose exec web python src/manage.py loaddata src/commons/fixtures/cms.json |
||||
docker-compose exec web python src/manage.py loaddata src/commons/fixtures/djangocms_text_ckeditor.json |
||||
docker-compose exec web python src/manage.py loaddata src/commons/fixtures/sites.json |
||||
docker-compose exec web python src/manage.py loaddata src/customer/fixtures/price.json |
||||
docker-compose exec web python src/manage.py loaddata src/docs/fixtures/country.json |
||||
docker-compose exec web python src/manage.py loaddata src/docs/fixtures/currency.json |
||||
docker-compose exec web python src/manage.py loaddata src/docs/fixtures/measure.json |
||||
|
||||
collectstatic: |
||||
docker-compose run web python manage.py collectstatic --noinput |
||||
@ -1,6 +0,0 @@ |
||||
#!/usr/bin/env bash |
||||
|
||||
make -f DockerMakefile build |
||||
make -f DockerMakefile up |
||||
# fix pause runtime |
||||
#make -f DockerMakefile loaddata |
||||
Loading…
Reference in new issue