parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

How to update parse server on heroku?

Open andreiurzica opened this issue 10 years ago • 4 comments

hello, i created a heroku server using deploy to keroku button. how can i update parse after that? how can i see what parse version i'm running on heroku?

andreiurzica avatar Mar 26 '16 15:03 andreiurzica

You have to clone the repository to your local machine which Heroku explain in their command line docs, and then you can modify the package.json file to reflect the most recent version of Parse. Then once you commit that back to Heroku, it will build with the newest version.

pbush25 avatar Mar 26 '16 19:03 pbush25

Please follow the manual instructions before using the deploy button, it will make more sense.

noder199 avatar Mar 26 '16 22:03 noder199

You can update parse by installing the CLI tool, cloning the parse repository, and then deploying it to Heroku. It’s a pretty straightforward operation.

First you’ll need to figure out the git repository that underlies the “Deploy to Heroku” button. You can find instructions for doing this in the Heroku Knowledge Base.

As a shortcut, if you used the Deploy button from the Heroku devcenter your repository will be https://github.com/ParsePlatform/parse-server-example

From there, it’s pretty straightforward:

  1. Download the CLI tool
  2. Clone the repository to your computer (this will get the latest version of Parse)
  3. Push the repository back to Heroku

A guide to steps 2 & 3 is outlined quite nicely here and in a bit more detail here.

gsharpe avatar Jul 14 '17 12:07 gsharpe

How do i do this if i manually pushed to Heroku without using the button?

Onwa1kenobi avatar Sep 20 '17 23:09 Onwa1kenobi