WWU Version hosted at wwudevops.github.io/website.
OSU Version hosted at devopsbootcamp.osuosl.org.
This repository has a post-commit hook set up to update the main site every
time the master branch is changed. If the site doesn't update within a couple
of minutes, the build may have failed. Check that make html
doesn't throw
any errors in your copy of the repo, and ask someone with admin access on
readthedocs to investigate what it reports is broken.
Slides are available at wwudevops.github.io/slides, and rebuilt automatically whenever new content is pushed to the master branch of this repo.
The script in scripts/build.sh automatically removes the slides that were built of non-slides content, based on the assumption that the filenames of all actual slides start with the week number.
You can also build the slides locally if you've been editing them and want to see how they'll look before you push, or if you don't have push access to the project:
sudo apt-get install build-essential
sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk \
python3-dev python3-setuptoolsi
sudo yum groupinstall "Development Tools" "Development Libraries"
sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
lcms2-devel libwebp-devel tcl-devel tk-devel
sudo pip install virtualenv
git clone https://github.com/WWUDevOps/website.git
virtualenv website
cd website
Enter the virtual environment.
source bin/activate
Install the requirements.
pip install -r requirements.txt
Output lives in build/
and the stuff you want to edit is in source/
. Images
and things go in source/static/
.
Slides will go to build/slides
.
make slides
To preview roughly how it'll look on wwudevops.github.io/website.
make html
Leave the virtual environment.
deactivate