I also have my own version of “startproject" that creates several additional files, including my web server config file (I use H20 web server, not Nginx) as well as a uWSGI vassals config file. I create the following preconfigured files and directories using a command-line Python script:
.gitignore .env h2o.conf uwsgi.ini create_db.sql manifest.json browserconfig.xml robots.txt requirements.txt /static /static/icons /static/icons/*various_icons.png /media /venv /log Basically as much as I can possibly create to launch a new project and have it ready to deploy on my main web server. I’m adding more items as well, including fonts, CSS and JS templates. There are so many little things that are needed to deploy. I wish Django had it built in, but yes my configuration is pretty custom, with H20 instead of Nginx or Apache. Is this something of interest for Django directly? -bobby > On Jun 23, 2020, at 9:08 PM, Kit La Touche <[email protected]> wrote: > > I saw what you added; I tried to make this a minimal change, and was > conscious also Carl's expressed preference (which I share, tbh) in the linked > discussion for less-magic. I figured a function that just parsed values out > of the env would be the smallest possible first step, so I'm inclined to keep > with this, for now. > > On Tue, Jun 23, 2020 at 4:15 PM Javier Buzzi <[email protected] > <mailto:[email protected]>> wrote: > I think its great, but id add a little more customizability. I've added an > example to your PR. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/8dc94197-fa0c-442a-8f97-3d7990a3a2c2o%40googlegroups.com > > <https://groups.google.com/d/msgid/django-developers/8dc94197-fa0c-442a-8f97-3d7990a3a2c2o%40googlegroups.com?utm_medium=email&utm_source=footer>. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAFcS-hD4RFMt%2BwQCCkt6TB5P3rEjarD9Bc9WcArvdaKBzxiYEw%40mail.gmail.com > > <https://groups.google.com/d/msgid/django-developers/CAFcS-hD4RFMt%2BwQCCkt6TB5P3rEjarD9Bc9WcArvdaKBzxiYEw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3E3ED051-F766-4F0E-BD83-49503C11662A%40gmail.com.
