Viral News
Django development with systemd objects? I’m crazy? : django
In my development environment I run django apps behind nginx -> gunicorn systemd unit services. Plus, if there are other deps, like celery workers – I setup systemd units for them as well.To automate creating configuration files for all that, I place them configuration files templates in config/templates/ and then run./manage.py startetc -fwhich builds a…

In my development ambiance I speed django apps within the serve of nginx -> gunicorn systemd unit services and products. Plus, if there are diversified deps, love celery workers – I setup systemd objects for them besides.
To automate growing configuration recordsdata for all that, I spot them configuration recordsdata templates in
./organize.py
startetc -f
which builds a itemizing
Afterwards I procure symlinks to user systemd objects in
~/.config/systemd/user/xyz.service ->
To open all the pieces with one repeat I exercise system purpose unit:
systemctl --user open
xyz.purpose
# this starts all services and products deps for mission xyz
The rationale within the serve of all that – is that mission is ravishing advanced; to illustrate I want celery workers to exercise OCR in development.
I in actuality have 2 questions:
-
I’m crazy ? Is within the market someone doing something the same ?
-
Is someone interesting in a reusable django app which does all that I described above ?

Subscribe to the newsletter news
We hate SPAM and promise to keep your email address safe
