Skip to content

Sam-Mumm/wiki

Repository files navigation

Wiki

Feature

Screenshots

Running on a Host

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

... via PyPi

... via git

$ git clone https://github.com/Sam-Mumm/wiki.git /opt/wiki
$ cd /opt/wiki

Running via Docker

Configuration

Configurationfile

Reverse Proxy

nginx

# apt install -y nginx
location / {
    proxy_pass http://localhost:5000
}

systemd

[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

Running

docker-compose