Skip to content

Commit 6f42190

Browse files
authored
Merge pull request #119 from Mapel/master
Fixing some smaller errors in the tutorial 1-deploy-alerta
2 parents 0e3253f + 142cd86 commit 6f42190

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

source/gettingstarted/tutorial-1-deploy-alerta.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ Python 3 virtual environment run::
6565

6666
$ cd /opt
6767
$ python3 -m venv alerta
68-
$ alerta/bin/pip install --upgrade pip wheel alerta-server alerta uwsgi
68+
$ alerta/bin/pip install --upgrade pip wheel alerta-server alerta uwsgi pymongo
6969

7070
To install the web console run::
7171

7272
$ wget https://github.com/alerta/alerta-webui/releases/latest/download/alerta-webui.tar.gz
7373
$ tar zxvf alerta-webui.tar.gz
74-
$ cp dist /var/www/html
74+
$ cp -a dist /var/www/html
7575

7676
Step 2: Configuration
7777
---------------------
@@ -131,9 +131,9 @@ on reboot:
131131

132132
.. code-block:: console
133133
134-
$ sudo service start uwsgi
135-
$ sudo service status uwsgi
136-
$ sudo service enable uwsgi
134+
$ sudo systemctl start uwsgi
135+
$ sudo systemctl status uwsgi
136+
$ sudo systemctl enable uwsgi
137137
138138
::
139139

@@ -167,6 +167,7 @@ the web console as static assets.
167167
168168
location / {
169169
root /var/www/html;
170+
try_files $uri $uri/ /index.html;
170171
}
171172
}
172173

0 commit comments

Comments
 (0)