Generator LINE Bot with TypeScript
Install
npm install -g yonpm install -g generator-line-bot-typescript
Commands
yo line-bot-typescript
generates scaffolds.
Deploy to Heroku
- Install heroku cli.
- Login to heroku.heroku login
- Deploy with git.
- Set environment variables.heroku config:set LINE_CHANNEL_ACCESS_TOKEN=<Your access token>heroku config:set LINE_CHANNEL_SECRET=<Your channel secret>heroku config:set NPM_CONFIG_PRODUCTION=false