I've been struggling for a bit to deploy my react app to Heroku using WSL terminal and I'd like to share the steps if someone needs them:
1- Run --> curl https://cli-assets.heroku.com/install.sh | sh
2- To verify your CLI installation run --> heroku --version
ON THE BROWSER GO TO YOUR APP TEHN TO 'DEPLOY' TO FOLLOW THE STEPS THERE IF YOU NEED TO CLONE THE REPO OR IF ALREADY YOU HAVE YOUR CODE AND IT'S UP TODATE YOU CAN FOLLOW THESE STEPS:
- Run -->
heroku login
- Press on any key on the keyboard then follow the link to login to Heroku on the browser
heroku git:remote -a (you app name)
git push heroku main
Top comments (0)