Skip to content
Snippets Groups Projects
Verified Commit dc4f27c8 authored by ynerant's avatar ynerant
Browse files

[constellation] Make migrations in the deployment while first version is not released


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent e87c9bc6
No related branches found
No related tags found
1 merge request!263[constellation] Constellation is coming
......@@ -33,13 +33,3 @@
django_manage:
command: collectstatic
project_path: "/var/local/constellation"
- name: Migrate database
django_manage:
command: migrate
project_path: "/var/local/constellation"
- name: Load initial data
django_manage:
command: loaddata initial
project_path: "/var/local/constellation"
......@@ -70,6 +70,22 @@
command: compilemessages
project_path: "/var/local/constellation"
# In the future, migrations will be included in the repository.
- name: Make Django migrations
django_manage:
command: makemigrations
project_path: "/var/local/constellation"
- name: Migrate database
django_manage:
command: migrate
project_path: "/var/local/constellation"
- name: Load initial data
django_manage:
command: loaddata initial
project_path: "/var/local/constellation"
- name: Indicate constellation in motd
template:
src: update-motd.d/05-service.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment