agrest-io
Run in dev mode
-
Setup env: npm, Java 11, Hugo 0.92.2, Node 8.9.4
-
Run npm to generate JS/CSS assets:
$ cd ./app && npm run build
-
Run
build-asciidocs.sh
script to update documentation (if needed):$ cd .. && ./build-asciidocs.sh 5.x 4.x
-
Run Hugo in dev mode:
$ hugo server
-
Navigate to http://localhost:1313/
Publish to agrest.io
To publish your changes to the website, commit them to the master
branch and push to GitHub.
GitHub Actions workflow will pick them up, build and publish to the live site in just a few minutes.
Documentation changes coming from Agrest will also be picked up.
Additionally, GitHub Actions will run build once a week to pick up any changes in the documentation.
See .github/workflows/site.yml
for publishing details.