This repo contains documentation for the tclb solver: https://github.com/CFD-GO/TCLB
Tutorials are hosted at https://docs.tclb.io/
This short tutorial will show you how to serve the webpage at you local machine and test your changes.
First, it is safe to isolate your enviroment.
Install virtual enviroment:
$ pip3 install virtualenv virtualenvwrapper
$ source /usr/local/bin/virtualenvwrapper.shDepending on the version install, the source location can differ and environment paths need to be exported:
$ export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
$ export VIRTUALENVWRAPPER_VIRTUALENV=/home/<user>/.local/bin/virtualenv
$ source ~/.local/bin/virtualenvwrapper.shYou can lookup your pythons' distributions using $ whereis python or just pick the default one...
$ mkvirtualenv --python=$(which python3) tclb-docs-envTo activate $ workon tclb-docs-env, to deactive enter $ deactivate
Install dependencies:
(tclb-docs-env) $ pip install -r requirements.txtRun server on you local machine:
(tclb-docs-env) $ mkdocs serveTo deploy:
(tclb-docs-env) $ mkdocs gh-deployMore questions? Visit original documentation: http://www.mkdocs.org/