GithubHelp home page GithubHelp logo

sumalaika / janusgraph.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janusgraph/janusgraph.org

0.0 2.0 0.0 121 KB

JanusGraph website

Home Page: http://janusgraph.org

License: Other

Ruby 25.94% Makefile 9.68% HTML 36.24% CSS 28.14%

janusgraph.org's Introduction

janusgraph.org

Website

This repo generates the content served on http://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 http://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 http://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 http://[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.

janusgraph.org's People

Contributors

analytically avatar jerryjch avatar lindsayismith avatar mbrukman avatar ptgoetz avatar robertdale avatar sumalaika avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.