- Make sure you have node and npm installed
- clone repo
- create a file called
devenv.sh
- create a slack bot here (this will be your local testing bot): https://dannysbottester.slack.com/apps/new/A0F7YS25R-bots
- copy API token
- Paste API token into the
devenv.sh
file like so:export SLACK_TOKEN=PASTE_TOKEN_HERE
- Below that, paste the rest of the stuff from the file I will send you via Slack (Google analytics Service Email, Pem Key, Wit Token, Weather Token (we'll remove this one soon))
- in terminal, type
npm install --save
this installs all the npm packages - in terminal, type 'source devenv.sh'
- in terminal, type
npm start
this runs the command to run the index.js file