19
loading...
This website collects cookies to deliver better user experience
heroku create
to make a new empty application on Heroku. This doesn’t deploy your code yet.package.json
— it will help us to run our script with the last amount of work:{
"scripts": {
"start": "node index.js"
}
}
git push heroku main
. This will take a while and will output a lot of text, keeping you up to date with the remote state of the dyno Heroku is setting up for you. At the end, you’re greeted with a message with a link, something like https://hidden-socks-12321.herokuapp.com/ deployed to Heroku
. In our case, this is not important since we don’t have a page to look at — we’ll get an SMS notifications whenever we find what we want.npm start
) and click “Save Job” at the bottom.https://github.com/jontewks/puppeteer-heroku-buildpack
in the text input of the modal you get. Click “Save changes” and you’re ready to go.git commit --allow-empty -m "Trigger deploy after buildpack" && git push heroku main