Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAutomatically updating README.md #3
Comments
This comment has been minimized.
This comment has been minimized.
|
@Arinerron Great idea, I was actually thinking about automating the job on heroku.
The JHU dataset only gets updated once per day. So every hour is not needed. but I do have it on the backlog to automate the pipeline |
This comment has been minimized.
This comment has been minimized.
|
@AaronWard Thanks for the update, fellow Aaron. I haven't looked into the code at all to see what information it requires, but Wikipedia has several (less reliable) tables with information that are updated nearly immediately when news is released. I'll look into possible integration with it as a secondary (configurable) data source tonight or tomorrow. |
This comment has been minimized.
This comment has been minimized.
|
I don't mind temporarily hosting this. I set up a cron job to update every hour. Files are hosted at this base endpoint: https://romania.arinerron.com/covid/reports/images/ (i.e. just append the jpg filenames). I'll add this in PR #4. |
This comment has been minimized.
This comment has been minimized.
|
@Arinerron any update on this? |
This comment has been minimized.
This comment has been minimized.
|
Hi all, I want to take this up. I think a much cleaner data source could be this CSV from a JHU repository which gets updated every day (even if it is not every hour). I can write an app and host on Heroku that will give us an image link which we can then embed in readme.md. Of course, I will also create a PR here containing all of this. |
This comment has been minimized.
This comment has been minimized.
|
@piyush-kgp Heroku doesn't allow you to write to the file system, so there is no way to save the output images. I have tried already unfortunately |
This comment has been minimized.
This comment has been minimized.
|
@AaronWard If we have a flask server, we can put files in a "static folder" and that gets served.
Any file located at "static" folder can be accssible to you. I was looking at libraries to create map. I found Expect a PR on this by today/tomorrow. |
This comment has been minimized.
This comment has been minimized.
|
@piyush-kgp I have tried this already and couldn't get it to work, seen in this repo: https://github.com/AaronWard/covid-19-analysis-hosting. But if you could get it to work that would be great As for the map, i had some installation issues for |
This comment has been minimized.
This comment has been minimized.
|
Closing due to inactivity |
Could you please host the images on a remote server and setup a cron job to update these images often (every hour perhaps?) then load the images from the remote server in the README? That way I can just check the README.md here to keep up to date.
Thanks!