- Make virtualenvs for each catalog
virtualenv ENV
- In each virtualenv, run
pip -r requirements.txt
- In each virtualenv, customize db access if required
- In each virtualenv, tweak uwsgi.ini file
- Make
/etc/uwsgi/vassals
- Symlink each uwsgi.ini file into
/etc/uwsgi/vassals
- Run uwsgi in "emperor mode"
uwsgi --emperor /etc/uwsgi/vassals --uid=django --gid=www-data --daemonize=/tmp/lfs1.log
- uwsgi can be restarted in emperor mode by
touch uwsgi.ini
source bin/activate
to initiate virtualenvpython lfs_project/manage.py syncdb
createsuperuser
lfs_init
- Restart nginx
forked from jgoodleaf/lfs-buildout-development
-
Notifications
You must be signed in to change notification settings - Fork 0
johngoodleaf/lfs-buildout-development
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
zc.buildout receipt to create a development environment for LFS
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%