fix: Update readme

This commit is contained in:
sinavir 2024-06-09 20:16:00 +02:00
parent b1f50af8d3
commit 5ea9469cc2

View file

@ -1,6 +1,18 @@
# Djangonix ❄️ # Djangonix ❄️
Nix expression to declaratively deploy django applications Nix expression to declaratively deploy django applications.
## How it works
The main issue for deploying declarative django applications is the pass secrets to the settings.
This opinionated module tackles this issue by building an ad-hox settings
module that re-exports the settings.py from the app and overrides some settings
using the [loadcredential python module](https://github.com/Tom-Hubrecht/loadcredential).
The settings to be overriden are provided by the user through the module.
With this you should be able to deploy almost any django application without any
modification of the `settings.py` file.
## Exemple ## Exemple
@ -16,4 +28,7 @@ nix-build test.nix
## TODO ## TODO
- Hardening - Hardening
- Add a logic to change `INSTALLED_APPS` and `MIDDLEWARE` easily (the idea is to be able to remove developpement apps at no cost)
- Add test case for runtimeSettings (it is probably broken for now)
- Add test case for static assets
- Remove all TODOs - Remove all TODOs