#5987 (New django-admin command "buildsite")
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
A single django-admin command to run pm install, buildcache, collectstatic and makehelp on a Lino site after pull.sh.
Children
Comments
- 1 year, 7 months ago by Luc Saffre about #5987 (New django-admin command "buildsite") (1 reply) : Little aftermath: buildsite has now the -b or --noinput option and the cron job on LF now said:
Started manage.py buildcache (using lino_local.cosi1e.settings) --> PID 359253 Build everything for (/usr/local/lino/lino_local/cosi1e). Are you sure? [Y/n]: Traceback (most recent call last): File "/us... - 1 year, 7 months ago by Luc Saffre about #5987 (New django-admin command "buildsite") : That's it: I removed buildsite again, and good old buildcache now also runs collectstatic.
- 1 year, 7 months ago by Luc Saffre about #5987 (New django-admin command "buildsite") : And I now realize that actually it also shouldn't run makehelp because this is a quite long-running command and it not absolutely necessary. Hm, now this command is getting a bit silly. We could add an option "-s" (--with-collectstatic) to buildcache and get rid of buildsite again.
- 1 year, 7 months ago by Luc Saffre about #5987 (New django-admin command "buildsite") : P.S: buildsite no longer runs install, this command should not modify the environment any more. It also no longer touches settings.py because that was too much of magic. It runs only the three commands collectstatic, buildcache and help. Actually if I remember well, pm buildcache did this in the beg...
- 1 year, 7 months ago by Luc Saffre about #5987 (New django-admin command "buildsite") : I pushed my changes (in several repositories).
- 1 year, 7 months ago by Luc Saffre about #5987 (New django-admin command "buildsite") : Created new Ticket #5987 (New django-admin command "buildsite").