Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.23 KB

File metadata and controls

39 lines (24 loc) · 1.23 KB

HPC@UCD Docs

pages-build-deployment

To get started with local development, first stop, and read our style guide. Then, clone the docs and spack-ucdavis repos:

git clone git@github.com:ucdavis/hpccf-docs.git
git clone git@github.com:ucdavis/spack-ucdavis.git

cd hpccf-docs
ln -s ../spack-ucdavis .

Then create a virtual environment, either with virtualenv:

python -m venv venv
. venv/bin/activate

Or with conda:

conda create -n mkdocs
conda activate mkdocs

Then install the dependencies:

python -m pip install --upgrade -r requirements.txt

You can serve the documentation locally by running:

mkdocs serve

Once the environment is created and dependencies installed, you only need to activate it in the future.

Resources