mirror of https://github.com/snachodog/mybuddy.git
Update example uwsgi file for manual install.
This commit is contained in:
parent
674da36690
commit
e6d120511d
|
@ -246,8 +246,8 @@ Python 3.x, nginx, uwsgi and sqlite and should be sufficient for a few users
|
||||||
project = babybuddy
|
project = babybuddy
|
||||||
base_dir = /var/www/babybuddy
|
base_dir = /var/www/babybuddy
|
||||||
|
|
||||||
virtualenv = /home/user/.local/share/virtualenvs/babybuddy-XXXXXXXX
|
virtualenv = /path/to/venv
|
||||||
chdir = %(base_dir)/babybuddy
|
chdir = %(base_dir)/public
|
||||||
module = %(project).wsgi:application
|
module = %(project).wsgi:application
|
||||||
env = DJANGO_SETTINGS_MODULE=%(project).settings.production
|
env = DJANGO_SETTINGS_MODULE=%(project).settings.production
|
||||||
master = True
|
master = True
|
||||||
|
@ -256,8 +256,8 @@ Python 3.x, nginx, uwsgi and sqlite and should be sufficient for a few users
|
||||||
See the [uWSGI documentation](http://uwsgi-docs.readthedocs.io/en/latest/)
|
See the [uWSGI documentation](http://uwsgi-docs.readthedocs.io/en/latest/)
|
||||||
for more advanced configuration details.
|
for more advanced configuration details.
|
||||||
|
|
||||||
*Note: Find the location of the pipenv virtual environment with the command
|
**Note: Find the location of the pipenv virtual environment for the
|
||||||
``pipenv --venv``.*
|
`virtualenv` parameter with the command `pipenv --venv`.**
|
||||||
|
|
||||||
1. Create and configure the nginx server
|
1. Create and configure the nginx server
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue