mirror of https://github.com/snachodog/mybuddy.git
split the commands to ensure a correct flow and change vim to editor
This commit is contained in:
parent
675d237bd4
commit
5469ace771
|
@ -237,8 +237,6 @@ Python 3.x, nginx, uwsgi and sqlite and should be sufficient for a few users
|
||||||
1. Create and configure the uwsgi app
|
1. Create and configure the uwsgi app
|
||||||
|
|
||||||
sudo editor /etc/uwsgi/apps-available/babybuddy.ini
|
sudo editor /etc/uwsgi/apps-available/babybuddy.ini
|
||||||
sudo ln -s /etc/uwsgi/apps-available/babybuddy.ini /etc/uwsgi/apps-enabled/babybuddy.ini
|
|
||||||
sudo service uwsgi restart
|
|
||||||
|
|
||||||
Example config:
|
Example config:
|
||||||
|
|
||||||
|
@ -257,12 +255,15 @@ 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 for the
|
**Note: Find the location of the pipenv virtual environment for the
|
||||||
`virtualenv` parameter with the command `pipenv --venv`.**
|
`virtualenv` parameter with the command `pipenv --venv`.**
|
||||||
|
|
||||||
|
sudo ln -s /etc/uwsgi/apps-available/babybuddy.ini /etc/uwsgi/apps-enabled/babybuddy.ini
|
||||||
|
sudo service uwsgi restart
|
||||||
|
|
||||||
1. Create and configure the nginx server
|
1. Create and configure the nginx server
|
||||||
|
|
||||||
sudo vim /etc/nginx/sites-available/babybuddy
|
sudo editor /etc/nginx/sites-available/babybuddy
|
||||||
sudo ln -s /etc/nginx/sites-available/babybuddy /etc/nginx/sites-enabled/babybuddy
|
sudo ln -s /etc/nginx/sites-available/babybuddy /etc/nginx/sites-enabled/babybuddy
|
||||||
sudo service nginx restart
|
sudo service nginx restart
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue