Skip to content

Instantly share code, notes, and snippets.

@moaoa
Created June 10, 2020 17:31
Show Gist options
  • Save moaoa/55cd938040b789afdbba363d6b2de6b4 to your computer and use it in GitHub Desktop.
Save moaoa/55cd938040b789afdbba363d6b2de6b4 to your computer and use it in GitHub Desktop.
heroku login (Enter your Heroku credentials)
git init
git add .
git commit -m “initial commit”
heroku create (You should see two links after running this command. Copy the second one)
git remote add heroku PASTE THE LINK YOU JUST COPIED
git push heroku master
Once you run the last command Heroku will start to run some tests on your app. If everything goes right you should see a successful deploy message. Now you’re able to navigate to your app by running:
heroku open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment