Code for Münster Homepage at codeformuenster.org.
(These instructions are for Linux. On OSX/Windows, Docker has to be installed differently.)
The website is now available at http://localhost:4000. Posts and stylesheets will automatically be recompiled on change.
This site is build using jekyll.
sudo gem install jekyll
sudo gem install rdiscount
sudo gem install bundler
Install dependencies:
bundle install
The stylesheets are written in SASS/SCSS and are found in folder _sass
. After changing the code you must compile manually to CSS with:
compass compile
Or run compass watch
to automatically recompile after saving a file. If you intend to run the webserver as well, you don't need to compile the SASS code by hand. It is then managed by bundler
/jekyll
.
Compiles the page after saving a code change:
bundle exec jekyll serve
The website is now available at http://localhost:3000
The project list can automatically be updated by fetching project data via the github api.
You can even automatically create the screenshots, you just need to install shutter:
sudo apt-get install shutter
Then you can update the data by running:
php update-data.php