For the Installation via pypi or git I recommand to install the wiki in a virtual environment.
# python3 -m venv /opt/wiki
# source /opt/wiki/bin/activate
After the setup up of the environment you can install the wiki on one of this ways
$ git clone https://github.com/Sam-Mumm/wiki.git /opt/wiki
$ cd /opt/wiki
# apt install -y nginx
location / {
proxy_pass http://localhost:5000
}
[Unit]
Description=uWSGI instance to serve project
After=network.target
[Service]
User=root
Group=root
WorkingDirectory=/opt/wiki
Environment="PATH=/opt/wiki/bin"
ExecStart=/opt/wiki/bin/uwsgi --ini uwsgi.ini
[Install]
WantedBy=multi-user.target