Our landing page is hosted by GitHub Pages, from master branch, /docs directory and can be accessed on https://grid.ethereum.org.
GitHub Pages uses Jekyll plugin (Ruby) to build html pages.
Depending on your shell, you'll need to add it to ~/.bash_profile, ~/.bashrc, ~/.zshrc, etc.
# appending token information
echo "export JEKYLL_GITHUB_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" >> ~/.bash_profile
# reloading current shell
source ~/.bash_profile# execute on your terminal
ruby -vRuby >2.2.5 is good, although it is recommended to use a version >= 2.3. If your current environment doesn't meet the criteria, please refer to the installation guide.
cd docs/
gem install bundler jekyll
bundle installbundle exec jekyll serve --incrementalDefault URL is http://127.0.0.1:4000/
If you need to force-rebuild the site in case you get some stubborn cache, please run:
bundle exec jekyll clean
bundle exec jekyll build- Setting up your GitHub Pages site locally with Jekyll
- Liquid (template engine used by Jekyll)
- Jekyll documentation
- GitHub Pages help