From 7828285d240f945f4b266b5f68ddeec0ec27c1b5 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 12 Sep 2022 15:33:17 +0200 Subject: Add a readme --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..cf1729f --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Verden - Social for 3D artists + +This software is part of a project for the Web Programming course at UNICT. + +--- + +Configuration to set up before starting: + +1. Create a PostgreSQL database. +2. Generate a good secret string for JWT. + +Variables with values as example: + +``` +JWT_SECRET=foobar +DATABASE_URL=postgres://user:password@localhost:5432/verden +PAGE_LIMIT=20 +SAVE_FILE_BASE_PATH="./uploads" +UPLOADS_ENDPOINT="/uploads" +RUST_LOG=verden=debug,tower_http=debug +ALLOWED_HOST=localhost:3000 +``` -- cgit v1.2.3-71-g8e6c