The project has two folders worth mentioning:
assets/
- contains css styles and imagesdocs/
- contains individual markdown pages to render
The main entrypoint (or homepage) is index.md
and new pages must be referenced here.
Making sure Ruby 2.7
and Bundler are installed in your machine, run the following:
git clone git@github.com:ajuna-network/ajuna-network.github.io.git
cd ajuna-network.github.io
bundle install
bundle config set --local path 'vendor/bundle'
bundle exec jekyll serve
The default URL is http://127.0.0.1:4000/.
If there are any issues regarding authentication, follow this guide to create a personal access token for your GitHub account and use it to set JEKYLL_GITHUB_TOKEN
environment variable.
JEKYLL_GITHUB_TOKEN=<YOUR_PAT> bundle exec jekyll serve
See here: Ruby versioning
If you use rbenv, you can do:
rbenv install
rbenv init
rbenv exec bundler install
JEKYLL_GITHUB_TOKEN=inserttoken rbenv exec bundle exec jekyll serve