Serveur d'annonces de préparation de ĞMarchés
Go to file
Pascal Engélibert 6c0af083d5 Switched from warp to tide 2020-12-17 10:05:26 +01:00
src Switched from warp to tide 2020-12-17 10:05:26 +01:00
static More style, ad detail, remove price column 2020-12-10 12:19:03 +01:00
templates Switched from warp to tide 2020-12-17 10:05:26 +01:00
.gitignore Initial commit 2020-10-26 23:43:18 +01:00
Cargo.lock Switched from warp to tide 2020-12-17 10:05:26 +01:00
Cargo.toml Switched from warp to tide 2020-12-17 10:05:26 +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