An app to select people to go for lunch.
Installation for Development
- You need to have Yarn installed (
brew install yarn)
- Move into the
- Need to populate a
.envfile; please look at the sample for for an example.
Setup Test/Dev Databases
We are using PostgreSQL to store information. You need to have two databases locally.
- Ensure PostgreSQL is installed and running (
brew install postgresqland
brew services start postgresql).
psql postgresdo the following:
CREATE DATABASE lunchinator_dev; CREATE DATABASE lunchinator_test;
- Grant permission for your user:
GRANT ALL PRIVILEGES ON DATABASE lunchinator_dev TO $USERand
GRANT ALL PRIVILEGES ON DATABASE lunchinator_test TO $USER;(replacing
$USERwith your username from
- Then run
yarn run migrate upfor development and
yarn run migrate-test upfor test
Using Slack App in Development
ngrok to route traffic from the internet to our machine. See guide: https://api.slack.com/tutorials/tunneling-with-ngrok