A whole RPG system within the Hack Club Slack!
To run locally, make sure you have the following installed:
postgres:://<user>@<location>/<db>
, this is what DATABASE_URL
is. Nest has a built-in cli to get postgres DBs, try that.SLACK_SIGNING_SECRET
, SLACK_APP_TOKEN
(starts with xapp
), and SLACK_BOT_TOKEN
(starts with xoxb
). Use ngrok to expose port 3001. (tip: use your ngrok-free domain to avoid having to change urls every time you restart). Put https://ngrok-url.ngrok-free.app/slack/events
in the interactivity and shortcuts page, the event subscriptions page (subscribe to app_mention), then create all the slash commands (with your prefix) and put the url there too. Make sure you hit the save changes button on each page.Once you have these, you'll need to git clone
this repo, and then:
yarn install && yarn run db:migrate-deploy
.env.sample
and rename it to .env
.maintainers.yaml
.yarn dev
!/bot
and create an ADMIN app, then approve its request.http://localhost:3000
).cd
into the workflow directory and run npm i
, then node update.js
. This will pull all the items into your DB.