Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

pluradj/janusgraph.org

 
 

Repository files navigation

janusgraph.org

Website

This repo generates the content served on https://janusgraph.org

To make changes, you should install the local setup and once you're ready to submit changes, please provide a pointer to a previewable version via your published fork on GitHub. See instructions below for both of these below.

Preview changes locally

While developing the site, it is very helpful to have fast turnaround between making changes and seeing how they work via Jekyll—you don't want to wait for a git push + GitHub build cycle before seeing any changes. Thus, we want to preview changes that we make using a local setup.

  1. Install Ruby and Bundler

  2. Install the necessary Ruby Gems for this repo into .bundle:

    make install
  3. Run Jekyll locally to serve the site:

    make serve
  4. Visit https://localhost:4000/ to see the site. Now, any changes you make to index.md or any dependent files will be instantly previwable in your browser with a refresh.

Preview via GitHub

Before pushing the site to production, and a great way to demonstrate proposed changes during code review, you should push the changes to your personal GitHub fork as follows:

  1. fork the main repo https://github.com/JanusGraph/janusgraph.org to your account
    • note: the master branch of this repo is the one that is auto-published to https://janusgraph.org soon after a commit
  2. clone your copy of the repo locally
  3. checkout the gh-pages branch or create it if it doesn't exist
  4. make changes on that branch and push gh-pages to your fork on GitHub
  5. visit the "Settings" page for your fork on GitHub and make the gh-pages auto-publishable
    • note: after you make this change, you will get an email that you could not publish this site because the CNAME of janusgraph.org is already taken by another site (i.e., the canonical repo). You will also see a warning about this on the GitHub UI. Both of these warnings are safe to ignore because we are trying to create a personal test copy, not update the live site.
  6. now you can visit your site at https://[your-username].github.io/janusgraph.org/ to see your changes
  7. any changes you continue to push to your gh-pages branch will keep updating live on GitHub

Note: you can also use master on your fork the same way, since GitHub allows you to auto-publish either master or gh-pages, but in the interest of always having a clean master branch that you can create PRs from, that also tracks the master from upstream (i.e., https://github.com/JanusGraph/janusgraph.org), it is highly recommended to use gh-pages for this purpose instead.

License

This repo uses a combination of Apache 2.0 and CC-BY-4.0; see LICENSE.txt for details.

Releases

No releases published

Packages

No packages published

Languages

  • HTML 36.3%
  • CSS 28.1%
  • Ruby 25.9%
  • Makefile 9.7%