freifunk-dresden.de | dresden.freifunk.net
- Install a javascript runtime, e.g. nodejs
- Install bundle by running
gem install bundle
- Install the dependencies by running
bundle
apt install -y git nodejs
ruby 2.2.0
curl -L https://get.rvm.io | bash -s stable --ruby=2.2.0
bundler
gem install bundler -v 1.17.3
git clone https://github.com/Freifunk-Dresden/Blog.git /srv/Blog
git clone https://github.com/Freifunk-Dresden/dresden.freifunk.net.git /srv/dresden.freifunk.net
cd /srv/dresden.freifunk.net/
bundle install
On Ubuntu you might need to change the next lines in the 'Rakefile'
Line 4: sh "jekyll build"
to:
sh "bundle exec jekyll build"
Line 8: sh "jekyll serve"
to:
sh "bundle exec jekyll serve"
- Use
rake build
. This will build the website to the_site
directory
- Use
rake serve
. This watches files for changes and serves the website on http://0.0.0.0:4000/
- Use
rake test
State of the current master branch, powered by Travis-CI:
Simply git push
to the master branch. There's a hook that will automatically deploy it to dresden.freifunk.net