Algo SIG is a subgroup of ChiPy, the Chicago Python Users Group.
This site is designed for GitHub Pages, which is built with Jekyll. No local setup is required.
- Fork the repository
- Create or edit a markdown file in the
_posts
folder. See existing posts for header variables to include. - Submit a pull request. Upon approval, your changes will be added the hosted website.
In order to make changes to the website design or archictecture and preview the website on a local server, you will need a local development environment. Follow these steps.
Follow the appropriate guide for your system. Specific notes for Windows are provided here.
- Install WSL and Ubuntu from the Microsoft Store
- Follow the WSL Jekyll installation guide
-
If you receive a permission error at
gem update
orgem install jekyll bundler
, read Running Jekyll as Non-Superuser (no sudo!) -
Modify your
.bashrc
in your Ubuntu user directory:nano ~/.bashrc
-
Add the following lines :
# Ruby exports export GEM_HOME=$HOME/gems export PATH=$HOME/gems/bin:$PATH
Restart the terminal, or reload
.bashrc
:. ~/.bashrc
-
Resume the WSL Jekyll installation guide.
-
With Jekyll installed, you now need to install the dependencies for this particular website.
Install dependencies specified in this repo's Gemfile
and Gemfile.lock
bundle install
- On WSL, you may need to issue the following commands prior to
bundle install
. See this guide.sudo apt-get install libpng-dev sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
bundle exec jekyll serve --future
- Syntax styling/highlighting theme for code blocks was set via:
rougify style github > assets/syntax.css
Boostrap with Bootswatch theme.