cstate_theme/README.md

34 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2022-09-06 22:03:42 +02:00
# cState Site v5.4
This is the default cState status page website directory/folder.
* Example site repository link (you are here): https://github.com/cstate/example
* Main cState source code repository: https://github.com/cstate/cstate
## Are you updating? Use these commands
Download your site with all the directories. `git clone --recursive <your repo link goes here>`
Update the cState theme submodule. `git submodule foreach git pull origin master`
In the parent directory, type `hugo serve`. Check to see if everything is working.
Then do `git add -A; git commit -m "Update cState"; git push origin <branch, probably main or master>`. Your status page is now updated and uploaded.
## For maintainers (probably not for you)
Maintainers need to update both cstate/cstate and cstate/example for each new version.
Download this repo with all the directories. `git clone --recursive -b master https://github.com/cstate/example.git`
Add your changes from cstate/cstate's exampleSite folder.
Update the cState theme submodule. `git submodule foreach git pull origin master`
Then push `git add -A; git commit -m "Update cState vX.X.X"; git push origin master`.
## License
MIT © Mantas Vilčinskas