/mail-notice-linebot

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

Primary LanguageGo

mail-notice-linebot

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

SETUP(Heroku)

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

# Create heroku app
$ heroku apps:create <Your Heroku App name>
$ 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 <Your image name>
$ heroku container:release <Your image name>

# Open your heroku app
$ heroku open