forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47b0d05
commit bee4112
Showing
1 changed file
with
1 addition
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1 @@ | ||
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). | ||
|
||
# How to quickly test the main page of the website | ||
|
||
``` | ||
# 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 --livereload 8080 | ||
``` | ||
|
||
``` | ||
cd ../docs/tools | ||
sudo apt install python3 pip | ||
pip3 install -r requirements.txt | ||
virtualenv build | ||
./build.py --livereload 8080 | ||
# Open the web browser and go to http://localhost:8080/ | ||
``` | ||
# This is not a website |