v2: init -- UI is nuked from orbit, major app restructuring

This commit is contained in:
41666 2019-02-23 18:16:31 -06:00
parent c6f5b55c1c
commit b8da886601
108 changed files with 6717 additions and 17430 deletions

30
.env.example Normal file
View file

@ -0,0 +1,30 @@
# database url, we mostly use postgres. others may work, but who knows.
# this is set up for the docker-compose.yml file included.
DB_URL=postgres://roleypoly:19216801@localhost:5432/roleypoly
# debug=true will increase logging
DEBUG=true
# development vs production changes how the UI does it's rendering.
# do NOT leave this on development for prod. that's dumb.
NODE_ENV=development
# discord settings.
DISCORD_CLIENT_ID=36391647431320739
DISCORD_CLIENT_SECRET=PZd3u4RkokhnB8MVdALPz5
DISCORD_BOT_TOKEN=qgTk4wm9Q7ECmMCovpmJVNCBltzJhL
# URL to the app for OAuth callbacks
APP_URL=http://localhost:6769
# CHANGE THIS ALWAYS. BUT EXACTLY ONCE.
# CHANGE THIS ALWAYS. BUT EXACTLY ONCE.
# CHANGE THIS ALWAYS. BUT EXACTLY ONCE.
# signing key for sessions. changing this will invalidate all sessions.
APP_KEY=PJoayPGqi8vfYVFYBDgSeJSDYUpzBX
# does this instance start a bot?
IS_BOT=true
# your and your friend's user ID for using admin tools.
ROOT_USERS=62601275618889721