CityMunch Slack bot, showing how you can use our partner API to use our offers in your own apps
JavaScript Shell HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
src
static
test/citymunch
.editorconfig
.eslintrc.yml
.gitignore
README.md
package.json

README.md

CityMunch Slack bot server

This is the CityMunch Slack bot. Find lunch or dinner near you in your Slack channel, with a search like /citymunch pizza in London or /citymunch bristol.

To install this into your Slack channel, click here.

Want to use CityMunch's deals in an app of your own? Check out our partner program!

Development

Node 7.6 must be installed. If you are using NVM, run nvm use 7.6.

Installation:

npm install
cp config/server-dev.js.example config/server-dev.js # Then edit the file.

To start the server:

npm start

To run the tests:

npm test

Set up the Git pre-commit hook to prevent committing some mistakes:

ln -s ../../bin/pre-commit .git/hooks/pre-commit

An daily cron must be set up to run daily-notifications-cron.js.