I created a heroku app using the Deploy to heroku
button on this page https://github.com/ParsePlatform/parse-server-example
I can check its running by running code similar to the following which returns results in terminal.
curl -X GET \
-H "X-Parse-Application-Id: ********************" \
-H "X-Parse-Master-Key: *******************" \
http://MY-APP.herokuapp.com/parse/classes/Speech
I want to update the cloudcode, my understanding on how to do this is to git clone the app, make a change, commit then push it back up.
But when I run heroku git:clone -a MY-APP
it gives me the following warning
Cloning into 'MY-APP'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
And the MY-APP
folder is empty.
What am I doing wrong?
It should have something in it right? Otherwise the curl...
command wouldn't work?
Edit: This question and answer solved my problem. Apparently it is a bug with heroku. How can I host my own Parse Server on Heroku using MongoDB?
Clone the server and add heroku remote manually:
git clone https://github.com/parse-community/parse-server-example.git your-app-name
cd your-app-name
git remote add heroku https://git.heroku.com/your-app-name.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With