Skip to content

pep-dortmund/homepage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homepage Upload

Repository of the PeP al. homepage (https://pep-dortmund.org).

Contributing

See Contributing for detailled explanation how to

  • write new posts
  • add static pages
  • edit the navigation
  • minified markdown intro
  • other crazy things

Local Testing

It is advisable, that you test the website locally if you make any changes or review Pull Requests

Install the required software

Ubuntu

$ 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"

ArchLinux

$ 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"

macOS

$ brew install ruby node
$ gem install bundler

Testing

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).