fix(cas-eleves): Fix migration commands order
This commit is contained in:
parent
e574d2ab72
commit
5cd85d38b1
1 changed files with 1 additions and 1 deletions
|
@ -99,8 +99,8 @@ in
|
||||||
path = [ pythonEnv ];
|
path = [ pythonEnv ];
|
||||||
|
|
||||||
script = ''
|
script = ''
|
||||||
python3 manage.py loaddata patterns
|
|
||||||
python3 manage.py migrate
|
python3 manage.py migrate
|
||||||
|
python3 manage.py loaddata patterns
|
||||||
gunicorn app.wsgi --pythonpath ${sources.cas-eleves} -b 127.0.0.1:${builtins.toString port} --workers=2 --threads=4
|
gunicorn app.wsgi --pythonpath ${sources.cas-eleves} -b 127.0.0.1:${builtins.toString port} --workers=2 --threads=4
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue