Skip to content
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

[Proposal] Use GitHub Pages for Initial Version #21

Open
AndrewNatoli opened this issue Jun 8, 2019 · 1 comment
Open

[Proposal] Use GitHub Pages for Initial Version #21

AndrewNatoli opened this issue Jun 8, 2019 · 1 comment
Assignees
Labels
proposal Discuss a change to the project

Comments

@AndrewNatoli
Copy link
Member

Describe the idea
Instead of worrying about hosting and a datastore, we can utilize TravisCI and GitHub Pages.

We can set up a "cron" in TravisCI to automatically build the project every day. In doing so it will run the web scrapers and store their output in individual JSON files. We can then tell TravisCI to put those JSON files inside a data directory within the React app after it's built. Then the build artifacts get pushed to the gh-pages branch.

What would be required to accomplish this?
Simplifying the process! We just need to finish the crawlers and have them output JSON.

Additional context
This would follow a similar process as https://github.com/OpenCLTBrigade/opencltbrigade.github.io

@AndrewNatoli AndrewNatoli added the proposal Discuss a change to the project label Jun 8, 2019
@chimon2000
Copy link
Collaborator

chimon2000 commented Jun 13, 2019

We could take this a step further. Netlify has built-in CI and integrates directly with GitHub. The downside here is that we'd have to use a shared account to manage it if we went that route.

I like the idea of just outputting JSON. How would that work for jobs? Would we just have a job that outputs new JSON each day?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Discuss a change to the project
Projects
None yet
Development

No branches or pull requests

2 participants