Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tasshi-me/mail-notice-linebot

メールが来たのを教えるLINEBOT
https://github.com/tasshi-me/mail-notice-linebot

docker golang heroku linebot mailing

Last synced: about 2 months ago
JSON representation

メールが来たのを教えるLINEBOT

Awesome Lists containing this project

README

        

# mail-notice-linebot

メールが来たのを教えるLINEBOT

## SETUP(Heroku)

```bash
#Heroku cli install
$ brew tap heroku/brew && brew install heroku
$ heroku login
$ heroku container:login

# Create heroku app
$ heroku apps:create
$ heroku stack:set container

# Set local varibales
$ vim .env # .envを編集する
$ heroku plugins:install heroku-config
$ heroku config:push

# This makes app be able to know deployed on heroku itself
$ heroku labs:enable runtime-dyno-metadata

# heroku install mongodb addon
# help: before this command, verify your account with a credit card
$ heroku config:unset MONGODB_URI
$ heroku addons:create mongolab:sandbox

# Push & Release Container
$ heroku container:push
$ heroku container:release

# Open your heroku app
$ heroku open

```