A Free and Open Source community.
Published at: https://thescienceofcode.com/
-
Pre-requisites:
- Extract Hugo Binaries into the project's root folder.
- Install NodeJS
- Recommended Github Desktop:
-
Clone the repo. Note: the theme is contained on a Git Submodule. If you're using Github desktop just clone this repo and it will download the submodule automatically.
If you're going to modify the theme, you can add the submodule as a repo to Github Desktop (Add existing repository > location ./theme/tranquilpeak) and commit changes directly into the theme repository.
-
Download the repo and install dependencies for the theme:
cd themes/tranquilpeak npm install -g grunt-cli npm install
-
Run theme (if you plan to actively edit it):
cd themes/tranquilpeak npm start
Otherwise, just build it!
cd themes/tranquilpeak npm run build
-
Run the site (using another terminal):
hugo serve -D
If you are using Powershell:
.\hugo serve -D
The Science of Code is a Free and Open Source initiative by Equilaterus.