Telegram and Messenger bot for Sozdik, a Russian to Kazakh dictionary
-
Install node/npm/yarn. The app has been tested with node v6 and v7.
-
Clone and install dependencies:
$ git clone https://github.com/yenbekbay/sozdik-bot.git
$ cd sozdik-bot
$ yarn # npm install
-
Add environment variables:
cp .env.example .env
and edit with your values. -
Run the server
$ yarn start # npm start
- Install Docker Toolbox:
$ brew tap caskroom/cask && brew cask install docker-toolbox
- Create a docker machine using any available Docker Machine driver
- Deploy the app:
$ npm run deploy -- <machine_name>
GNU GPLv3 License © Ayan Yenbekbay