Skip to content

klubbdinmamma/klubbdinmamma.github.io

Repository files navigation

Build Status

Tools

Ruby and Jekyll (required)

Transform your plain text into static websites and blogs.

Install:

gem install bundler
bundle install

Start for development (use this when modifying _plugins/)

bin/serve
bin/rebuild

Or

bin/serve-and-rebuild

Or

run.bat

Browse to http://localhost:4000/.

List facebook albums

Install jq:

brew install jq

List:

bin/list-facebook-albums

Update photo page with new facebook albums

  1. Update the list in _config.yml
  2. Deploy, the auto-deploy will download latest Facebook data needed

Force update of files in _data/facebook:

  1. Rebuild the site with: FORCE_FACEBOOK_DATA_DOWNLOAD=true bin/build new albums.json and new photos_*.json files will be downloaded
  2. Commit the files

Browser auto-reloading

Live Server (optional)

A simple development http server with live reload capability.

Install:

npm install -g live-server

Start:

bin/live

bin/live will bundle, start Jekyll and open the page in Google Chrome Canary, it will automatically reload when something is changed.

Notes

_sass/_variables_do_not_change.scss is not used, it is just here as a convenience, to easily see what the exact name of a Bootstrap variable is, when we need to override it in _sass/_colors.scss.

Links

Privacy Policy

No login information of users stored, you cannot sign in to our webpage. Membership status with name only kept if we are given consent.