Serveur d'annonces de préparation de ĞMarchés
Go to file
Pascal Engélibert bd632e3ed1 Background image 2020-12-08 18:16:05 +01:00
src Background image 2020-12-08 18:16:05 +01:00
static Background image 2020-12-08 18:16:05 +01:00
templates Background image 2020-12-08 18:16:05 +01:00
.gitignore Initial commit 2020-10-26 23:43:18 +01:00
Cargo.lock Fix admin & logout 2020-12-08 10:56:32 +01:00
Cargo.toml Fix admin & logout 2020-12-08 10:56:32 +01:00
LICENSE Initial commit 2020-10-26 23:43:18 +01:00
README.md Readme, table accessibility 2020-11-02 22:58:27 +01:00
rustfmt.toml Initial commit 2020-10-26 23:43:18 +01:00

README.md

ĞMarché

Implémentation en Rust du site des ĞMarchés.

Configuration

Aucun autre logiciel n'est requis. Un webserver (e.g. Apache, Nginx) ou autre (e.g. stunnel, ssl-proxy) peut être utilisé en reverse-proxy, par exemple pour utiliser HTTPS.

Initialisez la configuration :

gmarche init

Modifiez la configuration dans ~/.config/gmarche/config.json. Vous pouvez aussi modifier les templates HTML et les fichiers statiques dans ce dossier.

Lancez le serveur :

gmarche start

L'option -d <dir> permet de changer le dossier de données/config (par exemple pour lancer plusieurs instances) :

gmarche -d mon/autre/dossier/ start|init