Set up Frontend
Compile frontend
cd /srv/server/glitchtip
git clone https://gitlab.com/glitchtip/glitchtip-frontend.git frontend
cd frontend
npm install
./node_modules/@angular/cli/bin/ng build --prod
This should create a dist
directory with the frontend.
Now go back to the backend and create a symlink:
cd ../code
ln -s ../frontend/dist
Afterwards create a code/static and code/media directory and change the owner to glitchtip
. Finally run
python manage.py collectstatic
Quick test
You should now be able to run
python manage.py runserver
And access glitchtip using the returned URL (assuming there is no firewall blocking that port. When in doubt forward the port using SSH.