Heroku CLI deployment set up - aac5ts/parse-server-app GitHub Wiki
-
Add Heroku as a remote to your local git repo:
$ heroku git:remote -a <your-app-name> $ git remote -vYou should see your Heroku remote in the list
-
Make a change to your code to test deployment. Navigate to base directory of your local repo. Open the file
index.jsin a text editor of your choice. On line36change the message that is displayed on the landing page of your Parse Server. Maybe change it to"Welcome to <your name>'s Parse Server!" -
Commit your changes:
$ git add . $ git commit -m "your commit message here" -
Deploy your changes to Heroku by pushing your committed changes to the
masterbranch of yourherokuremote:$ git push heroku masterYou should see the console output from the build
-
Once the build succeeds, make sure it worked. Go to
http://<your-app-name>.herokuapp.com. You should see the landing page with your updated message. -
Later, you should probably create your own remote for your code. (Other than the Heroku remote, and other than my repo)