Add cli & lib crates

This commit is contained in:
2021-04-22 15:13:28 +02:00
parent e39cffa3f6
commit 3a9ecc398a
53 changed files with 5065 additions and 99 deletions

16
server/example.env Normal file
View File

@ -0,0 +1,16 @@
DB_PATH=./database
# Tests are required to run sequentially so that the database state won't interfere
# TODO: we don't have tests yet :)
#RUST_TEST_THREADS=1
## Rocket Web Server Configuration ##
#ROCKET_ADDRESS="localhost"
#ROCKET_PORT=8000
#ROCKET_WORKERS=[number of cpus * 2]
#ROCKET_LOG="normal"
#ROCKET_SECRET_KEY=[randomly generated at launch]
#ROCKET_LIMITS="{ forms = 32768 }"
ROCKET_TEMPLATE_DIR="templates"
## =============================== ##