1 Star 0 Fork 84

xzx / website-gauss

forked from openGauss / website 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
xiangxinyong 提交于 2020-03-09 17:15 . add hugo framework

website

Brief Introduction

Website is openGauss community contents management system base on Hugo framework, Universal Theme for Hugo theme and Hugo Book theme, maintained by this project maintainers, which publish on https://opengauss.org. Now we are under developing. you are welcome to join us.

Installation

  1. Build Image
docker build -t website:v0.0.1 .
  1. Running in container
docker run -p 80:80 -d website:v0.0.1 > web.pid

The website will serving on http://your-server-ip:80

  1. Stopping the container
docker rm -f `cat web.pid` && rm -f web.pid

Debug

  1. Install Hugo
curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_0.56.3_Linux-64bit.tar.gz | tar -xz && \
chmod +x hugo && mv hugo /usr/local/bin/
  1. Run Hugo
hugo serve --bind 0.0.0.0 --port 80 --baseUrl /

The website will serving on http://your-server-ip:80, any change will take effect here.

Contribution

  1. Fork the repository
  2. Create Feature_xxx branch
  3. Commit your code
  4. Create Pull Request

Please refer to CONTRIBUTING for more guide.

Get Help

1
https://gitee.com/xzx666/website-gauss.git
git@gitee.com:xzx666/website-gauss.git
xzx666
website-gauss
website-gauss
master

搜索帮助