Deploying to Heroku - l3v11/SearchX GitHub Wiki

Deploying with Heroku CLI
- Install Heroku CLI
- Login to your heroku account
heroku login -i - Create a new app
heroku apps:create APPNAME - Add the app remote to the repo
heroku git:remote -a APPNAME - Change stack of the app to container
heroku stack:set container -a APPNAME - Add the config files
git add -f . - Commit new changes
git commit -m "Add configuration" - Push the repo to heroku
git push heroku main --force - Now restart the app dyno
heroku ps:scale worker=0 -a APPNAMEheroku ps:scale worker=1 -a APPNAMENote: Remember to replace
APPNAMEwith your app's name