This repository contains the source code for the website pdx.pydata.org.
- Install Docker
- Clone the project repository
- Run the following command to serve it:
export JEKYLL_VERSION=4 && docker run --name pydatapdx --volume="$PWD:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll:$JEKYLL_VERSION jekyll serve --watch --drafts
- Natigate to
http://localhost:4000
While running Jekyll will automatically rebuild the site and refresh the browser when changes are made to the source code.
See this article
export JEKYLL_VERSION=4 && docker run --rm --volume="$PWD:/srv/jekyll" -it jekyll/jekyll:$JEKYLL_VERSION jekyll build
docker rm -f pydatapdx
Some of the theme defaults were customized to match the existing site. As a result, all the default .scss files needed to be brought in. See Minimal Mistakes' Documentation for further instructions on how to customize styles and layout.
Notes:
- See
assets/css/main.scss
for a list of SCSS variables that were overriden. - Hero image styles and html (
_page.scss
andpage__hero.html
) were customized to match the old site. - Custom font links are listed in
head.html
.