The bot that control them all.
- Create
.env.local
with your settings - Run one of this sequences:
$ npm install
$ npm run dev
$ yarn
$ yarn dev
You can use git config core.hooksPath .githooks
command to enable autolinting before commit.
Setup Heroku variables:
ADMIN_IDS
- Telegram IDs of channel adminsCHANNEL_ID
- channel id for auto-deployWEBHOOK_URL
- Something like: https://cyrillic-design-bot.herokuapp.com/BOT_TOKEN
- Telegram token from BotFather
Also you have to install ssh key to enable automatic commit: https://github.com/simon0191/custom-ssh-key-buildpack
© 2020, @jfkz