Skip to content

Heroku Hosting


Init

Install CLI: https://devcenter.heroku.com/articles/heroku-cli

After installed,

heroku login

Create a hosting

heroku create <app name>

Deploy

git push heroku master

Quickly open the site

heroku open

Add config to the site

heroku config:set WEBHOOK_URL=adwadwdawdaw

Run command remotely

heroku run "npm run notify"

Heroku Add-on

Comments