Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahaker/generator-line-bot-typescript
A yeoman generator for LINE Bot
https://github.com/mahaker/generator-line-bot-typescript
bot linebot typescript yeoman-generator
Last synced: 20 days ago
JSON representation
A yeoman generator for LINE Bot
- Host: GitHub
- URL: https://github.com/mahaker/generator-line-bot-typescript
- Owner: mahaker
- License: mit
- Created: 2018-12-04T15:20:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T05:16:55.000Z (over 1 year ago)
- Last Synced: 2024-10-20T17:01:40.487Z (29 days ago)
- Topics: bot, linebot, typescript, yeoman-generator
- Language: JavaScript
- Homepage:
- Size: 1.71 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Generator LINE Bot with TypeScript
[![NPM](https://nodei.co/npm/generator-line-bot-typescript.png)](https://nodei.co/npm/generator-line-bot-typescript/)
## Install
``` sh
npm install -g yo
npm install -g generator-line-bot-typescript
```## Commands
`yo line-bot-typescript` generates scaffolds.
## Deploy to Heroku
1. [Install heroku cli.](https://devcenter.heroku.com/articles/heroku-cli#download-and-install)
2. Login to heroku.
```sh
heroku login
```
3. [Deploy with git.](https://devcenter.heroku.com/articles/git)
4. Set environment variables.
```sh
heroku config:set LINE_CHANNEL_ACCESS_TOKEN=
heroku config:set LINE_CHANNEL_SECRET=
heroku config:set NPM_CONFIG_PRODUCTION=false
```