This is the content that hosts the site https://tutorials.aaf.edu.au. The site is built with Jekyll and hosted on GitHub Pages.
We welcome contributions to our AAF tutorials. Please read CONTRIBUTING.md for more information on how to contribute.
Clone the repository of the documentation source code using the Git command:
git@github.com:ausaccessfed/dev-portal.git
Jekyll is a static site generator built as a Ruby gem. It requires Ruby and a Ruby version manager, such as rbenv or chruby, for installation. You can refer to the Jekyll documentation for detailed installation instructions tailored to your operating system.
If you prefer a Docker-based setup, follow these steps:
-
Build and run Docker Image: Run the following command to build a new image of your Jekyll site:
make up
-
View Your Site: Open your web browser and navigate to http://localhost:4000 to view your Jekyll site running locally.
-
Remove the Docker Image: To stop and remove the Docker image, use the following command:
make down
By using Docker, you can ensure consistent environments across different platforms and simplify the setup process for your Jekyll site.
These instructions will guide you through setting up and running your Jekyll site on your local machine using native tools.
-
Install rbenv: If you haven't already, install rbenv using Homebrew:
brew install rbenv
-
Install Bundler: Once rbenv is installed, proceed to install Bundler:
gem install bundler
-
Navigate to the publishing source: Change your working directory to the root of your Jekyll site (named
docs
):cd path/to/your/docs
-
Install Dependencies: Use Bundler to install the required dependencies for your Jekyll site:
bundle install
-
Build: To build your site locally, execute the following command:
bundle exec jekyll serve
-
For Windows users, first set up the Windows Subsystem for Linux (WSL). This will make the process much easier and allow you to use the commands below within the WSL environment.
-
Install the Ruby packages including Bundler, rake and the Ruby development package for building native extensions. For Ubuntu, this can be done with:
apt install ruby-dev ruby-bundler rake zlib1g-dev make gcc g++
- Navigate to the publishing source: Change your working directory to the root of your Jekyll site (named
docs
):
cd path/to/your/docs
- Install Dependencies: Install the required dependencies for your Jekyll site:
rake setup
- Build Your Site: To build your site locally, execute the following command:
rake serve
- Preview Your Site: Once the build process completes, open your web browser and navigate to http://localhost:4000 to preview your Jekyll site.