Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

edit or replace json file at github by remote server

I would like to edit a tiny json file in a github account to store the ranking of small quiz I run on a Heroku server.  I can read from this json file to construct a small dictionary in a stack when the quiz is activated, but I am unable to dump this dictionary back to the mentioned json file: I cannot edit or replace the json file.

 

The logfiles from heroku are not very helpful. Concerning the logs the dictionary in the stack is being dumped back into a json file and this json file is not stored at heroku. However the file at github, that is read to create the dictionary in the stack, is not being replaced or edited.

I am not sure in what direction to go to solve this. Perhaps someone can me out.

1 Reply
Community Manager
Message 2 of 2

Re: edit or replace json file at github by remote server

Hey @Petruzz,

 

Thanks for being here, here is a link that might be useful. Hopefully, someone else here uses a similar workflow and can give you some feedback as well.

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!