Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions installation/local-hosting-vps/logviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ description: Hosting the logviewer on the cloud or on your own computer.

## Prerequisites

This logviewer hosting tutorial is written assuming you have already set up your bot and are running Ubuntu 20.04-22.04.
This logviewer hosting tutorial is written assuming you have already set up your bot on one of the supported operating systems.

{% hint style="warning" %}
The logviewer can be set up using your local pc or homeserver. However it is higly recommended to run the logviewer on a vps or different cloud based service to avoid security issues. To let staff members access the logviewer (which is a popular usecase) you need to expose ports to the public internet which can be risky for your router and it´s local network.
There are also several other issues that can occur.
Please only set up your logviewer on your local network **if you can take full responsibility and 100% know what you are doing.**
{% endhint %}

## Dependencies
- Python 3.11
- Tools: `git`, `wget`, `nano`

## Downloading the files

Expand All @@ -24,7 +34,7 @@ Once done, you can use `cd logviewer` to enter the directory.

First, install pipenv by running the following command:

* Pipenv must be installed. Since this is also used for the bot, you can skip this step if you have already installed it.
* Pipenv must be installed. Since this is also used for the bot, you can skip this step if you have already installed it. You may neeed to use a different command to access your python installation depending on your operating system and python configuration.

```bash
python -m pip install pipenv
Expand Down