-
Change the content you want to change through a pull request.
-
If your pull request is approved then wait a bit until an administrator rebuilds the public directory (For administrators:
./update.sh
) -
After the public directory is rebuild your changes are visible in the webpage.
Prerequisite:
-
Install hugo (
brew install hugo
) -
Clone the repository and install prerequisite
git clone --recurse-submodules --depth 2 https://github.com/ObserveRTC/website/
cd website
npm install
Note: The site uses docsy, and therefore we need to recursively pull the corresponding repositories too. More info: https://themes.gohugo.io/docsy/
-
hugo serve
-
Edit
-
If you finished, create a PR contains your changes
-
An administrator can run the
./update.sh
- Build the docker image
docker build -f dev.Dockerfile -t observertc-website:latest .
- Run the built image
docker run --publish 1313:1313 --detach --mount src="$(pwd)",target=/home/docsy/app,type=bind docsy-example-dev:latest
The original template for this site is made by using Docsy, and this site is made by ObserveRTC Team, All rights reserved.