Repository of the PeP al. homepage (https://pep-dortmund.org).
See Contributing for detailled explanation how to
- write new posts
- add static pages
- edit the navigation
- minified markdown intro
- other crazy things
It is advisable, that you test the website locally if you make any changes or review Pull Requests
$ sudo apt install ruby-dev nodejs libxml2-dev libxslt-dev build-essential
$ gem install --user bundler
And add this to your ~/.bashrc ~/.zshrc ~/.profile/...:
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
$ sudo pacman -S ruby nodejs libxml2 libxslt
$ gem install --user bundler
And add this to your ~/.bashrc ~/.zshrc ~/.profile/...:
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
$ brew install ruby node
$ gem install bundler
Go to the base directory of this repository.
First install all required gems
$ bundle config set --local path 'vendor/bundle'
$ bundle install
In order to test the site at this point, simply run
$ bundle exec jekyll serve
The website is then served at localhost:4000. Changes to the inputfiles are recognised and the website is build again, press f5 in the browser to update.
Some updates, like changing images might require to delete the cache (ctrl + r in chrome).