update module
This commit is contained in:
parent
236e9e6438
commit
53eb0c8e81
3 changed files with 5 additions and 3 deletions
Binary file not shown.
|
|
@ -32,7 +32,9 @@ in
|
|||
type = "normal";
|
||||
chdir = "${pkgs.fragdenrat}/share/fragdenrat";
|
||||
|
||||
module = "fragdenrat.wsgi:application";
|
||||
# Use absolute wsgi entrypoint to avoid module resolution issues
|
||||
wsgi-file = "${pkgs.fragdenrat}/share/fragdenrat/fragdenrat/wsgi.py";
|
||||
callable = "application";
|
||||
|
||||
socket = "${config.services.uwsgi.runDir}/fragdenrat.sock";
|
||||
"chmod-socket" = "660";
|
||||
|
|
@ -48,13 +50,13 @@ in
|
|||
"no-orphans" = true;
|
||||
|
||||
env = [
|
||||
# Ensure python sees the app and dependencies
|
||||
"PYTHONPATH=${pkgs.fragdenrat}/share/fragdenrat:${pkgs.fragdenrat.pythonPath}"
|
||||
"DJANGO_SETTINGS_MODULE=fragdenrat.settings"
|
||||
];
|
||||
|
||||
settings = {
|
||||
"static-map" = "/static=${pkgs.fragdenrat}/share/fragdenrat/assets";
|
||||
# Ensure Python can import the project package
|
||||
pythonpath = "${pkgs.fragdenrat}/share/fragdenrat";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
2
result
2
result
|
|
@ -1 +1 @@
|
|||
/nix/store/b3qlvljb17hp4l9sadavr2krspycik4g-fragify-0.0.1
|
||||
/nix/store/wqsr5qqw8lj49hrags3pzairq70fwwb6-fragdenrat-0.1.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue