-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to update Heroku parser-server with latest code from github? #879
Comments
To clone the project you've deployed with the heroku button, you use the Heroku Toolbelt, the command line tool: https://toolbelt.heroku.com/ They explain how to use it to clone a deployed app: https://devcenter.heroku.com/articles/git-clone-heroku-app edit: see the much easier version below: |
There is an easier way:
In details: This will add parse-server as a submodule, heroku will understand that and fetch it when you push to heroku (see here)
This tells npm to use ./parse-server directory, that now contains the sources to use that directory for parse-server You should be good to go. When it comes to update your submodule,
|
Thanks I updated but it appears to not have solved the issue I had, I'll open a new issue explaining it in more details. |
Hi, I followed steps you have mentioned. i encountered errors when running step 2 so ran with sudo and it worked. please help. What could be wrong? My directory structure is as below: app name Counting objects: 4590, done. |
Permission denied (publickey). Please make sure you have the correct access rights am i missing something solved it by using: git submodule add https://github.com/ParsePlatform/parse-server.git |
Sorry but this may be a really dumb question and I googled but had no luck, but I am not sure how to update my Heroku parse-server with the latest code on github. I used the "1 button push" installation on Heroku, so I'm not even sure which version they installed at the time (nor how to find out).
I'd like to get the latest code base because it appears a fix for an issue holding me back has been made.
#773
Which I am having this exact issue someone posted here:
#783
I tried updating the version in my package.json to 2.1.4 (it was 2.1.2) and pushed it but it appears I'm still getting the same error as the guy in #783 so I didn't think it actually worked.
The latest code on github has that change so I'm just wondering how I can update my parse-server code on there, thanks!
The text was updated successfully, but these errors were encountered: