How to run the website - oaktown4h/website GitHub Wiki

Step 1: Install the tools

Mac

  1. Open the terminal application
  2. Install homebrew https://brew.sh/
  3. Install git brew install git
  4. Install hugo brew install hugo
  5. Create a work directory for example Desktop/oaktown4h

Step 2: Clone the repository

  1. In your terminal application go to the oaktown4h directory
  2. Clone the oaktown4h website repository git clone https://github.com/oaktown4h/website.git
  3. Initialize git submodules.
git submodule init
git submodule update

Step 3: Run the server

  1. Run hugo server hugo server
  2. Open browser and go to the url that the hugo server prints http://localhost:1313/