From zero to a brand new docs site
To get started with Tract, first create a new Hugo project. In this guide, the project will be called my-docs.
hugo new site my-docs && cd my-docs
Now initialize Git and clone the Tract theme repository as a submodule:
git submodule add https://github.com/tract-docs/tract themes/tract
Now download an example Hugo config file:
curl -O https://raw.githubusercontent.com/tract-docs/tract/master/exampleSite/config.toml
With the initial theme and configuration in place, you can start the Hugo server locally:
Now navigate to http://localhost:1313 in your browser to see the new site.
Now that you've completed the initial setup, you can move on to adding content.
Last updated by lucperkins on December 29, 2019 at 17:02 -0500