- Clone this repository
- Install submodules (
git submodule update --init
) - Install CouchDB 2.1.1 from http://couchdb.apache.org/#download
- Run
npm install
- Run
npm run deploy-database http://localhost:5984
to deploy database schema to your local CouchDB instance - Obtain your own bot token from https://t.me/botfather
- Set BOT_TOKEN environment variable to the token obtained at step 6
- Set COUCH_DB_CONNECTION_STRING environment variable to the connection string to your CouchDB instance or skip this to use
http://localhost:5984
by default - Run the apps
- Run
npm run debug-web
to start the website at http://localhost:3200 - Run
npm run debug-bgservice
to start the background service
- Run
Production version is available at http://t.me/megareminderbot / https://megareminderbot.herokuapp.com/