19 lines
504 B
YAML
19 lines
504 B
YAML
---
|
|
|
|
#- name: Build a current site
|
|
# shell: "docker-compose build web"
|
|
|
|
- name: Migrate the site data
|
|
shell: "docker-compose exec web ./manage.py migrate"
|
|
|
|
- name: Create administrative user
|
|
shell: "docker-compose exec web ./manage.py createsuperuser"
|
|
|
|
- name: Compress site frontend
|
|
shell: "docker-compose exec web ./manage.py compress"
|
|
|
|
- name: Collect static frontend files
|
|
shell: "docker-compose exec web ./manage.py collectstatic"
|
|
|
|
- name: Start Docker site
|
|
shell: "docker-compose up -d"
|