A whole RPG system within the Hack Club Slack!
To run locally, make sure you have the following installed:
- Yarn
-
PostgreSQL: Either install it locally or set up a database in the cloud and get the database URL. More information at https://www.prisma.io/docs/concepts/database-connectors/postgresql. Your database URL should look something like
postgres:://<user>@<location>/<db>
, this is whatDATABASE_URL
is. - Set up a Slack app. More information at api.slack.com. You should have
SLACK_SIGNING_SECRET
,SLACK_APP_TOKEN
(starts withxapp
), andSLACK_BOT_TOKEN
(starts withxoxb
).
Once you have these, you'll need to git clone
this repo, and then:
yarn install && yarn run db:migrate-deploy
- Fill out
.env.sample
and rename it to.env
. - Add yourself to the the list of maintainers in
maintainers.yaml
. - Run
yarn dev
! - Start playing with the Slack bot! The first thing you should do is run
/bot
and create a app, and then addAPP_ID
andAPP_KEY
variables to your.env
file.