Setup
=====
This explains how to set up Glee on your server. You can use any HTTP server in
theory, but we will only support and document NGINX.
Dependencies
------------
- Stable Rust
- PostgreSQL 14.3
- NGINX
Installing from Cargo
---------------------
Run
cargo install glee
to get the binary packages. Edit ~/.config/glee/config.toml and fill in the
appropriate values for each parameter. (Cargo will write to this file as part
of the build script, if and only if it does not already exist.)
Then run
glee-init
to initialize the Postgres database.
Now you can run
glee-site
to start up the site, and
glee-api
to start up the API.
These two will have to be run in parallel. It is strongly advised that you
create a daemon to keep both processes up.