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
|
||||
|
||||
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:
|
||||
|
||||
|
@ -260,9 +258,12 @@ Python 3.x, nginx, uwsgi and sqlite and should be sufficient for a few users
|
|||
**Note: Find the location of the pipenv virtual environment for the
|
||||
`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
|
||||
|
||||
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 service nginx restart
|
||||
|
||||
|
|
Loading…
Reference in New Issue