The website of Mangrove: https://www.mangrove.io
Clone the repo, then run:
$ npm install
# Your own secret key, used to protect cookies and login
SECRET=**************
# Slack app credentials
SLACK_CLIENT_ID=**************
SLACK_CLIENT_SECRET=**************
# comma-separated IDs of Slack teams allowed for login
SLACK_TEAM_IDS=**************
# Airtable credentials
AIRTABLE_API_KEY=**************
AIRTABLE_BASE_KEY=**************
# Redis URL (optional, defaults to localhost)
REDIS_URL=redis://localhost:6379
# Google Maps API Key (optional)
GOOGLE_MAPS_API_KEY=**************
To find the Airtable credentials, login on Airtable and go there: https://airtable.com/appHUSN6KmmkMAgV7/api/docs#nodejs/authentication
In local for development:
$ npm run start
By default the server will be running on port 3000: http://localhost:3000/
Lint code:
$ npm run lint
Fix lint errors:
$ npm run fix
Heroku dynos:
$ npm run web
$ npm run updateImages
This script is automatically ran daily
$ npm run updateLocations