Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Setup

This guide walks through setting up the ACM CRE template on your computer, from creating the GitHub organisation through to running the site locally.

The screenshots and command output in this guide are all from macOS. If you are on Windows or Linux, see Setup on other platforms for the equivalent terminal and toolchain steps, then return here for the GitHub and project steps which are platform-independent.

Before you begin

You will need:

Step 1: Create a GitHub organisation

Hosting your event in a dedicated GitHub organisation gives you a cleaner URL and lets multiple organisers collaborate. Creating an organisation is free.

From the GitHub home page, click the + icon in the top-right toolbar, then choose New organization.

GitHub home page with the + menu open and New organization highlighted

Pick the Free plan.

GitHub plan picker with Create a free organization highlighted

Fill in the organisation form:

  1. Organisation name (this becomes part of your URL, for example acm-cre-ashoka)
  2. Contact email
  3. Choose My personal account under “This organisation belongs to”
  4. Accept the Terms of Service
  5. Click Next
GitHub organisation setup form with five numbered fields highlighted

On the next screen you can invite collaborators or skip and click Complete setup.

GitHub Welcome screen with Complete setup button highlighted

For more details see GitHub’s guide on creating organisations.

Step 2: Create your repository from the template

Go to github.com/ACM-CRE/website-template. Click Use this template and choose Create a new repository.

website-template repo page with Use this template menu open

In the create-repository form:

  1. Open the Owner dropdown
  2. Pick the organisation you created in Step 1
  3. Set Repository name to <your-org>.github.io (for example acm-cre-ashoka.github.io). Using this exact name means GitHub Pages will serve the site at https://<your-org>.github.io/ with no extra path. If you pick any other name, see Event Details → Site settings later for the baseurl adjustment you will need.
Create repository form with Owner and Repository name fields highlighted

Add a short description, then check the visibility (4) and confirm Public (5).

Create repository form scrolled to Description and Visibility fields

Click Create repository at the bottom.

Create repository form with the Create repository button highlighted

You now have your own copy of the template. Click the green Code button and copy the HTTPS clone URL. You will need it in Step 5.

New repository page with the Code dropdown open and HTTPS clone URL highlighted

For more details see GitHub’s guide on creating from a template.

Step 3: Open Terminal

Press Cmd + Space to open Spotlight, type terminal, and press Enter.

macOS Spotlight search showing the Terminal app

Leave Terminal open. The remaining steps all run inside it.

Step 4: Install the Xcode Command Line Tools

The Command Line Tools give you git, a C compiler, and the system headers that several Ruby gems need to build. On a fresh Mac you almost certainly do not have them yet.

Run:

xcode-select --install
Terminal with the xcode-select --install command typed

A system dialog appears. Click Install.

macOS dialog asking to install the command line developer tools, with Install button

Accept the licence agreement to start the download.

Command Line Tools licence agreement dialog with Agree button

Wait for the installer to finish. This can take several minutes depending on your connection.

If xcode-select --install fails

On older macOS versions you may see the error Xcode is not currently available from the software update server. In that case, download the installer manually:

  1. Go to developer.apple.com/download/all and sign in with your Apple ID.
  2. Find the Command Line Tools for Xcode release that matches your macOS version. The version must match (for example macOS 26.4 needs the 26.4 release).
Apple Developer downloads page showing Command Line Tools for Xcode 26.4 highlighted
  1. Download the .dmg, open it, and run Command Line Tools.pkg. Click through the installer.
Mounted DMG showing Command Line Tools.pkg installer

Step 5: Clone your repository

Back in Terminal, paste the git clone command using the URL you copied in Step 2:

git clone https://github.com/<your-org>/<your-repo>.git
Terminal with a git clone command typed

When the clone finishes, change into the project directory:

cd <your-repo>
Terminal showing successful git clone followed by cd into the project directory

Step 6: Install mise

mise manages programming language versions per project. The template uses it to pin Ruby to the version it was tested with.

Install mise:

curl https://mise.run | sh

Activate mise in your shell by adding it to your zsh configuration, then sourcing the file so the change takes effect immediately:

echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
source ~/.zshrc

When you source ~/.zshrc while inside the project directory, mise will print errors that look like this:

mise ERROR error parsing config file: ~/<your-repo>/mise.toml
mise ERROR Config files in ~/<your-repo>/mise.toml are not trusted.

This is expected. mise refuses to read a project’s mise.toml until you explicitly trust it. The next step fixes this.

Step 7: Trust mise and install Ruby

Tell mise that this project’s config is safe:

mise trust
Terminal showing the trust errors followed by mise trust succeeding

Now install Ruby:

mise install

This downloads a precompiled Ruby 3.4 binary. You may see a warning about a Rekor public key:

mise Cannot parse Rekor public key with id cf1199155bddd051268d1f16ac5c0c75c009f6fb5a63f4177f8e18d7051e3fa0: Pkcs8 spki error : Ecdsa-P256 from der bytes to public key failed: unknown/unsupported algorithm OID: 1.2.840.10045.2.1

This warning is harmless. mise is unable to verify one of its signing keys, but the download itself completes successfully.

Terminal showing mise install with the Rekor warning followed by the precompiled Ruby being extracted

Verify the install:

mise doctor

You should see “No problems found”.

Step 8: Install dependencies and run the site locally

Install the project’s Ruby gems:

bundle install

Then start the local Jekyll server:

bundle exec jekyll serve

Open http://localhost:4000 in your browser. You should see the example event website.

To stop the server, press Ctrl + C.

Next steps

Having issues?

See the Troubleshooting guide for solutions to common problems.