Skip to content

Website of the Sauce Labs Open Source Program Office

License

Notifications You must be signed in to change notification settings

saucelabs/saucelabs.github.io

This repository contains static files to generate the website for Sauce Labs Open Source Program Office.

The page is based on the Kross Hugo Theme.

Prerequisites

The following tools are required to build this page:

File Locations

Important files to edit are:

  • /content for all content files
  • /data for module content
  • /static/images for all images
  • /static/sass to modify CSS files using Sass
  • /assets/js to modify JavaScript files
  • /layouts/ to modify templates
  • /static/ other static content

Build Locally

First clone the project to a directory and install all dependencies:

git clone https://github.com/saucelabs/saucelabs.github.io.git
cd saucelabs.github.io
npm install

Pull the git submodules (for the Hugo theme) after cloning the project from GitHub

git submodule update --init

Then build the page via:

npm run build

If you want to develop the page and use livereload, start the server via:

npm start

You can then open page on: http://localhost:8080. The server will automatically reload if files change.