⭐ Star and get notified about new releases via email.
- Initial steps
Install dependencies:
yarn install
Start the script:
yarn start
Start the script in development mode:
yarn dev
Create a new app from the Heroku Dashboard.
Go to Settings / Buildpacks and add the following buildpacks:
https://github.com/heroku/heroku-buildpack-apt
https://github.com/captain401/heroku-buildpack-xvfb.git
https://github.com/benschwarz/heroku-electron-buildpack.git
heroku/nodejs
Modify the stack:
heroku stack:set cedar-14 --app HEROKU_APP_NAME
Create a Git repository (if you don't have one already)
Add the remote Heroku repository:
git remote add heroku https://heroku:HEROKU_API_KEY@git.heroku.com/HEROKU_APP_NAME.gitYou can go to the Heroku Dashboard / {profile picture} / Account settings / API Key to get it.
Deploy to Heroku:
yarn deploy
Go to the Heroku Dashboard / {app} / Resources and turn the web
Dyno off
and the worker
Dyno on
.
Deploy to Heroku:
yarn deploy