go-ecms
Golang error code management system. For error code doc, see: https://mgsweet.com/go-ecms/
Preconditions
If you want to build site, install Hugo. For mac with homebrew:
brew install hugo
For other platforms, see: https://gohugo.io/getting-started/installing/
Usage
To generate both go code and site code, run:
./build.sh
To build go code only, run:
./build_go.sh
To build site only, run:
./build_site.sh
To run hugo site in development mode:
cd ecms-site
hugo server
Build:
cd ecms-site
hugo -d ../docs/
For Deployment, remember to change the baseURL
in /ecms-site
to your site:
baseURL = "https://your-site/"
Credit
Hugo Template: https://geekdocs.de/