Open Programmable Infrastructure Project Website
Hugo code for OPI Project website.
Development
To work on the website, make sure you have hugo installed. You can do that by following the instructions here.
Once you have hugo installed, you can make changes to the website. To see them locally, run the following in the root directory of the website:
hugo server --disableFastRender
This should give you something like this as output:
➜ opiproject.org git:(dev) ✗ hugo server --disableFastRender
Start building sites …
hugo v0.101.0+extended darwin/amd64 BuildDate=unknown
| EN
-------------------+-----
Pages | 18
Paginator pages | 0
Non-page files | 0
Static files | 41
Processed images | 0
Aliases | 1
Sitemaps | 1
Cleaned | 0
Built in 170 ms
Watching for changes in /Users/kmestery/git/OPI/opiproject.org/{archetypes,content,data,layouts,static,themes}
Watching for config changes in /Users/kmestery/git/OPI/opiproject.org/config.toml, /Users/kmestery/git/OPI/opiproject.org/themes/ananke/config.yaml
Environment: "development"
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
You can then browse to http://localhost:1313/
to see your local changes.