Skip to content

Instantly share code, notes, and snippets.

@rikai
Created November 25, 2017 18:43
Show Gist options
  • Save rikai/d21ab4849043de9583183f4117ef28a4 to your computer and use it in GitHub Desktop.
Save rikai/d21ab4849043de9583183f4117ef28a4 to your computer and use it in GitHub Desktop.
Setup of new server:
sudo -u postgres psql
run the following:
CREATE USER quassel ENCRYPTED PASSWORD 'somepassword';
CREATE ROLE
CREATE DATABASE quassel WITH OWNER quassel ENCODING 'UTF8';
CREATE DATABASE
Then copy the sqlite db to the configdir from the services file and run:
quasselcore --configdir=<path from servicefile> --select-backend=PostgreSQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment