docs: add development instructions

This commit is contained in:
trafficlunar 2025-05-09 19:53:56 +01:00
parent 3a302c87c3
commit f7977eafa2
3 changed files with 92 additions and 3 deletions

View file

@ -1,11 +1,13 @@
DATABASE_URL="postgresql://frieren:frieren@localhost:5432/tomodachi-share?schema=public"
# Your PostgreSQL database
DATABASE_URL="postgresql://postgres:frieren@localhost:5432/tomodachi-share?schema=public"
# Used for rate limiting
REDIS_URL="redis://localhost:6379/0"
BASE_URL=https://tomodachi-share.trafficlunar.net
# Used for metadata, sitemaps, etc.
BASE_URL=http://localhost:3000
# Check Auth.js docs for information
AUTH_URL=https://tomodachi-share.trafficlunar.net # This should be the same as BASE_URL
AUTH_URL=http://localhost:3000 # This should be the same as BASE_URL
AUTH_TRUST_HOST=true
AUTH_SECRET=XXXXXXXXXXXXXXXX
AUTH_DISCORD_ID=XXXXXXXXXXXXXXXX
@ -13,6 +15,7 @@ AUTH_DISCORD_SECRET=XXXXXXXXXXXXXXXX
AUTH_GITHUB_ID=XXXXXXXXXXXXXXXX
AUTH_GITHUB_SECRET=XXXXXXXXXXXXXXXX
# Currently only supports one admin
NEXT_PUBLIC_ADMIN_USER_ID=1
# Separated by commas
NEXT_PUBLIC_CONTRIBUTORS_USER_IDS=176