This website will going to be used on F-Droid.org. It is based on Jekyll and you can find the development version here.
You need to have Jekyll 3.2+ installed what is easily done with Gem which depends on Ruby 2.0+. Because of the F-Droid plugin you need to have zlib installed.
sudo apt-get install ruby-full build-essential zlib1g-dev
sudo gem install jekyll bundler
bundle install
To build the website, run:
bundle exec jekyll build
If you want to build the website and serve it with a local server at localhost:4000, use:
bundle exec jekyll serve
- Clone F-Droid's Jekyll plugin
- Configure bundle to use it:
bundle config --local local.jekyll-fdroid ../jekyll-fdroid
- Follow the steps above
If you want to use the official Git repository again,
run bundle config --delete local.jekyll-fdroid
.
If you want to have another values for site.url
and site.baseurl
(default: localhost:4000
and fdroid-website
) you can add the from git ignored config file userconfig.yml
and run all jekyll commands with this additional parameter:
--config _config.yml userconfig.yml
This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.