Skip to content
Snippets Groups Projects
Verified Commit 3e6a51b5 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Remove unnecessary docs

parent b34329fd
No related branches found
No related tags found
1 merge request!333Documentation for beta release (Documentation for first release part 1)
Pipeline #12636 passed with warnings
Installing AlekSIS with PostgreSQL backend
==========================================
PostgreSQL is the only supported database backend for AlekSIS. If you are
installing AlekSIS manually, you need to properly set it up.
Install the PostgreSQL server
-----------------------------
On Debian, install the postgresql server package with::
sudo apt install postgresql
Create a database and user
--------------------------
On Debian, you can use the following commands to create the database and a
user who owns it::
sudo -u postgres createuser -D -P -R -S aleksis
sudo -u postgres createdb -E UTF-8 -O aleksis -T template0 -l C.UTF-8 aleksis
When asked for the database user password, choose a secure, preferrably
random, password. You can generate one using the pwgen utility if you like::
pwgen 16 1
Configure AlekSIS to use PostgreSQL
-----------------------------------
Fill in the configuration under `/etc/aleksis/aleksis.toml` (or a file with any other name in this directory)::
[database]
host = "localhost"
name = "aleksis"
username = "aleksis"
password = "Y0urV3ryR4nd0mP4ssw0rd"
Don't forget to run the migrations, like described in the basic setup guide.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment