- This repository contains the source code for the Gambit Project website, which is built using Hugo and hosted on GitHub Pages.
- View the website at https://www.gambit-project.org/
To make changes to the website, open a pull request with your changes. The website is built using Hugo, so you can test your changes locally by doing the following:
- Install Hugo on your local machine. On macOS, do not install with Homebrew directly, the latest version of Hugo is always installed and unfortunately this is not compatible with the Scientific Python theme submodule used by the website. You can instead install GO to then get the version of Hugo you need:
brew install go
echo 'export PATH=$PATH:/Users/<username>/go/bin' >> ~/.zshrc
go install github.com/gohugoio/[email protected]
export PATH=$PATH:/Users/<username>/go/bin && hugo version
- Clone this repository to your local machine.
- Navigate to the repository directory in your terminal.
- Run
git submodule init
thengit submodule update
to initialise and update the theme submodule.- Install the Dart Sass compiler:
npm install -g sass-embedded
, which is required by the Scientific Python Hugo theme.
- Install the Dart Sass compiler:
- Run the command
hugo server --disableFastRender
to start the local development server. - Open your web browser and go to
http://localhost:1313
to see your changes in action.