File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
7070To 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
7676Step 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
You can’t perform that action at this time.
0 commit comments