Skip to content

diana-hep/diana-hep.github.io-source

Repository files navigation

diana-hep.github.io-source

pelican source for website

Created DIANA-HEP GitHub Organization Using Pelican to generate website with fork of pelican-bootsrap3 theme

Using Travis to build website -- how-to

For local testing:

# Make a local venv
python3 -m venv venv

# Activate the venv (redo this if you restart the terminal)
source venv/bin/activate

# Install the nice requirements
pip install -r requirements.txt

# Install the hacky requirements (should be submodules, but I digress)
git clone https://github.com/diana-hep/pelican-bootstrap3.git
git clone --recursive https://github.com/getpelican/pelican-plugins
git clone https://github.com/michael-milette/Tipue-Search
cp -r Tipue-Search/tipuesearch pelican-bootstrap3/static/

# Build and serve
make html
make serve

When you are done, run deactivate to leave the virtual environment.