To get started:
make install
- Install Hugo
make dev
To live reload the webpack
theme in themes/oso-webpack
, run:
cd themes/oso-webpack
npm run serve
If you'd like to update API docs & test those, run make run
to include
them in the build.
This requires all the dependencies for the Oso build to be setup.
The search folder has a tiny Go program that can create an index from the Hugo files and send to Algolia for search
Usage of ./searcher:
-app_id string
Algolia Application ID
-index string
Algolia Index
-key string
Algolia Admin API KEY
-v Whether to output debugging information
You can get API keys from Algolia at https://www.algolia.com/apps/{APPLICATION_ID}/api-keys/all
-
Tailwind Cheat Sheet: https://nerdcave.com/tailwind-cheat-sheet
-
Tailwind docs: https://tailwindcss.com/docs/container
-
Tailwind UI (sample components): https://tailwindui.com/preview
-
Data relationships in Hugo: https://forestry.io/blog/data-relationships-in-hugo/