README.md 1.4 KB
Newer Older
F
freesky-edward 已提交
1 2
# website

F
freesky-edward 已提交
3
### Brief Introduction
F
freesky-edward 已提交
4

F
freesky-edward 已提交
5
Website is openEuler community contents management system base on [Hugo](https://gohugo.io/) framework, [Universal Theme for Hugo](https://github.com/devcows/hugo-universal-theme) theme and [Hugo Book](https://github.com/alex-shpak/hugo-book) theme, maintained by this project [maintainers](#Maintainers), which publish on https://openeuler.org. Now we are under developing. you are welcome to join us.
F
freesky-edward 已提交
6 7 8 9 10 11

### Installation

1. Build Image

```
X
xiangxinyong 已提交
12
docker build -t website:v0.0.1 .
F
freesky-edward 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
```

2. 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

3. Stopping the container

```
docker rm -f `cat web.pid` && rm -f web.pid
```

F
freesky-edward 已提交
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
### 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/
```

2. 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.

F
freesky-edward 已提交
46 47 48 49
### Maintainers

1. freesky-edward
2. edisonxiang
F
freesky-edward 已提交
50
3. TommyLike
F
freesky-edward 已提交
51 52 53 54 55 56 57 58 59 60 61 62

### Contribution

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

Please refer to [CONTRIBUTING](./CONTRIBUTING.md) for more guide.

### Get Help

F
freesky-edward 已提交
63 64
- IRC: #openeuler-infra     
- Mail: infra@openeuler.org