Set up Frontend

Compile frontend

cd /srv/server/glitchtip
git clone 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 collectstatic

Quick test

You should now be able to run

python runserver

And access glitchtip using the returned URL (assuming there is no firewall blocking that port. When in doubt forward the port using SSH.