Ship projects, go gambling! An unofficial HackClub YSWS program.
See demo here
- Ensure you have NodeJS installed
- Run
npm i - Run
npx auth secret - Edit the
.envfile:
AUTH_SECRET=RandomStringGeneratedByCommandAbove
SLACK_CLIENT_SECRET=SlackClientSecret
SLACK_CLIENT_ID=SlackClientID
PROXY_HOST=ReverseProxyHostname
AUTH_URL=URLOfApp
ADMIN_SECRET=SecureSecretForAdminAccessMake sure that
ADMIN_SECRETreally is secret!! You don't want anyone gaining admin access.
You can get your Slack app creds at api.slack.com. Required scopes for OAuth are
openid profile email.
- Run with
npm run dev - Sign in with your Slack account, confirm account creation by going into the "Ship" tab
- Visit
http://yourapp/?admin=YOUR_ADMIN_SECRETto gain admin privileges. (ReplaceYOUR_ADMIN_SECRETwith whatever you specified in.env.)