Basic Setup

Download Code

  • create an empty directory for glitchtip somewhere (e.g. /srv/server/glitchtip)
  • clone backend code: git clone git@gitlab.com:glitchtip/glitchtip-backend.git code

Create a Virtualenv

If you use virtualenvwrapper something like mkvirtualenv --python=python3 glitchtip might work, otherwise you can create it with something like python3 -m venv /path/to/new/virtual/environment. Activate it (workon glitchtip or source /path/to/new/virtual/environment/bin/activate).

Install dependencies

cd code
poetry install
poetry remove uWSGI
poetry add gunicorn

Create Linux user

sudo adduser glitchtip --disabled-login

Create PostgreSQL user and database

sudo -u postgres createuser glitchtip
sudo -u postgres createdb -O glitchtip glitchtip

Create runtime directory

(this is just a directory where the glitchtip user has write permission and can place all kinds of files)

cd /srv/server/glitchtip
mkdir runtime

Revision #10
Created Fri, Jan 29, 2021 6:59 PM by Lukas
Updated Fri, Jan 29, 2021 7:12 PM by Lukas