Website

Website

Jekyll code to build https://F-Droid.org

Currently available at https://fdroid.gitlab.io/fdroid-website/

Name Last Update
_data Loading commit data...
_docs Loading commit data...
_includes Loading commit data...
_layouts Loading commit data...
_pages Loading commit data...
_posts Loading commit data...
_sass Loading commit data...
assets Loading commit data...
css Loading commit data...
js Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.htaccess Loading commit data...
CONTRIBUTING.md Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
_config.yml Loading commit data...
favicon.png Loading commit data...
feed.xml Loading commit data...
index.md Loading commit data...
prepare-for-deploy.py Loading commit data...

Website of F-Droid.org

This website will going to be used on F-Droid.org. It is based on Jekyll and you can find the development version here.

Building

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

Local development

  • 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

License

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.