ClickHouse/website/README.md

41 lines
1.1 KiB
Markdown
Raw Normal View History

2019-09-23 16:18:19 +00:00
ClickHouse website is built alongside it's documentation via [docs/tools](https://github.com/ClickHouse/ClickHouse/tree/master/docs/tools), see [README.md there](https://github.com/ClickHouse/ClickHouse/tree/master/docs/tools/README.md).
2017-10-08 22:53:38 +00:00
# How to quickly test the main page of the website
2022-05-05 00:25:53 +00:00
```
# If you have old OS distribution,
# Run this from repository root:
docker run -it --rm --network host --volume $(pwd):/workspace ubuntu:20.04 /bin/bash
cd workspace/docs/tools
apt update
apt install sudo python pip git
pip3 install -r requirements.txt
git config --global --add safe.directory /workspace
./build.py --skip-multi-page --skip-blog --skip-docs --livereload 8080
```
```
cd ../docs/tools
sudo apt install python-3 pip
pip3 install -r requirements.txt
2020-12-21 20:04:22 +00:00
virtualenv build
2022-05-05 00:25:53 +00:00
./build.py --skip-multi-page --skip-blog --skip-docs --livereload 8080
# Open the web browser and go to http://localhost:8080/
```
2021-03-08 22:43:18 +00:00
# How to quickly test the blog
```
2022-05-05 00:25:53 +00:00
./build.py --skip-multi-page --skip-docs --livereload 8080
2021-03-08 22:43:18 +00:00
```
2021-03-14 12:01:03 +00:00
2021-08-11 10:05:18 +00:00
# How to quickly test the broken links in docs
2021-03-14 12:01:03 +00:00
```
2022-05-05 00:25:53 +00:00
./build.py --skip-multi-page --skip-blog --lang en --livereload 8080
2021-03-14 12:01:03 +00:00
```