ClickHouse/website
2021-04-11 17:00:14 +03:00
..
benchmark Better benchmark 2021-04-11 17:00:14 +03:00
blog
css
data
images
js
locale
templates
404.html
favicon.ico
google419fbd824d7ff97d.html
index.html
main.html
opensearch.xml
README.md
robots.txt
sitemap-index.xml
sitemap-static.xml
yandex_75d07a6cd96f49df.html
yandex_fffaa30ee00426bb.html

ClickHouse website is built alongside it's documentation via docs/tools, see README.md there.

How to quickly test the main page of the website

cd ../docs/tools
sudo apt install python-3 pip
pip3 install -r requirements.txt

# This is needed only when documentation is included
sudo npm install -g purify-css amphtml-validator
sudo apt install wkhtmltopdf
virtualenv build

./build.py --skip-multi-page --skip-single-page --skip-amp --skip-pdf --skip-blog --skip-git-log --skip-docs --skip-test-templates --livereload 8080

# Open the web browser and go to http://localhost:8080/

How to quickly test the blog

./build.py --skip-multi-page --skip-single-page --skip-amp --skip-pdf --skip-git-log --skip-docs --skip-test-templates --livereload 8080

How to quickly test the ugly annoying broken links in docs

./build.py --skip-multi-page --skip-amp --skip-pdf --skip-blog --skip-git-log --skip-test-templates --lang en --livereload 8080