feat(cas-eleves): Update and load fixture

This commit is contained in:
Tom Hubrecht 2024-07-04 21:22:13 +02:00
parent 325e24f5f6
commit 7c5ed7b65a
2 changed files with 3 additions and 2 deletions

View file

@ -79,6 +79,7 @@ in
path = [ pythonEnv ]; path = [ pythonEnv ];
script = '' script = ''
python3 manage.py loaddata patterns
python3 manage.py migrate python3 manage.py migrate
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
''; '';

View file

@ -45,9 +45,9 @@
"url": "https://git.dgnum.eu/DGNum/cas-eleves.git" "url": "https://git.dgnum.eu/DGNum/cas-eleves.git"
}, },
"branch": "main", "branch": "main",
"revision": "f31ca3f45a86432055a9eb0f2b8e430acf118839", "revision": "eba2e68677353e8d173ee1fd5c1d491b2dadff0b",
"url": null, "url": null,
"hash": "0ql2snp9y37ilkdm3lbb8cwg76npmxcn8vbf195p95m9mcj6hdry" "hash": "0shdbqggzxsj9rg4g6k1addj9p68yvfvyxq6q97cfhknxdgq3mw2"
}, },
"disko": { "disko": {
"type": "GitRelease", "type": "GitRelease",