summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-12 13:33:17 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-12 13:33:49 +0000
commit7828285d240f945f4b266b5f68ddeec0ec27c1b5 (patch)
tree277aa0a6ce8aa31c8adcf26ff01b7d3a0bd8adfb /README.md
parentaf3f5430a0b0f1834228b28fd89848959512e718 (diff)
Add a readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
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
+```