This is the repo for Dank Memer's current website.
Node.js 16.6.0 or newer is required.
- Run:
$ git clone https://github.com/DankMemer/dankmemer.lol.git
$ cd ./dankmemer.lol
- Create .env file:
COOKIE_SECRET=secret
CLIENT_ID=id
CLIENT_SECRET=secret
CRYPT_KEYS=["key","key"]
DOMAIN=http://localhost:3000
MONGODB_URI=mongodb://127.0.0.1:27017
MONGODB_DB=website
REDIS_PORT=6379
REDIS_HOST=localhost
COMMUNITY_WEBHOOK=webhook_url
PROFILE_WEBHOOK=webhook_url
REPORTS_USER_WEBHOOK=webhook_url
REPORTS_SERVER_WEBHOOK=webhook_url
APPEALS_USER_WEBHOOK=webhook_url
APPEALS_SUPPORT_WEBHOOK=webhook_url
APPEALS_COMMUNITY_WEBHOOK=webhook_url
JOBS_WEBHOOK=webhook_url
- You can generate CRYPT_KEYS by running:
node -p "[ 32, 16 ].map(n => crypto.randomBytes(n).toString('base64'))"
- COOKIE_SECRET should be at least 32 characters long. Generate one using:
https://1password.com/password-generator/
- Run:
$ npm i
$ npm run dev
- Ronin - Initial work - TheCyberRonin
- Mel - Initial design - Melmsie
- Aetheryx - Basically the whole thing - Aetheryx
- InBlue - Taken over work for redesign - InBlue
- Badosz - Rewrite and the community page - badosz0