From 7c5ed7b65a73f5b0ab98fe06d53e73f128a65e7c Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 4 Jul 2024 21:22:13 +0200 Subject: [PATCH] feat(cas-eleves): Update and load fixture --- machines/web02/cas-eleves/default.nix | 1 + npins/sources.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/machines/web02/cas-eleves/default.nix b/machines/web02/cas-eleves/default.nix index 20aa87b..ad8bdcc 100644 --- a/machines/web02/cas-eleves/default.nix +++ b/machines/web02/cas-eleves/default.nix @@ -79,6 +79,7 @@ in path = [ pythonEnv ]; script = '' + python3 manage.py loaddata patterns python3 manage.py migrate gunicorn app.wsgi --pythonpath ${sources.cas-eleves} -b 127.0.0.1:${builtins.toString port} --workers=2 --threads=4 ''; diff --git a/npins/sources.json b/npins/sources.json index c276858..e332a3c 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -45,9 +45,9 @@ "url": "https://git.dgnum.eu/DGNum/cas-eleves.git" }, "branch": "main", - "revision": "f31ca3f45a86432055a9eb0f2b8e430acf118839", + "revision": "eba2e68677353e8d173ee1fd5c1d491b2dadff0b", "url": null, - "hash": "0ql2snp9y37ilkdm3lbb8cwg76npmxcn8vbf195p95m9mcj6hdry" + "hash": "0shdbqggzxsj9rg4g6k1addj9p68yvfvyxq6q97cfhknxdgq3mw2" }, "disko": { "type": "GitRelease",