Deploying website
1 min readMay 23, 2020
- Download the Heroku CLI
- Check that the Heroku is installed correctly by typing
Heroku — version
- Login to Heroku by typing
Heroku login
- Inside your NodeJs file project, create a file without an extension:
procfile
- Inside this file, type
web: npm run start
- Inside package.json, add the following to the JSON file (the version of your NodeJs):
"engines”: {"node": “12.14.1”},
6. Back to Git bash
7. heroku create