Maraj Website
Website sources for the Maraj. It uses Jekyll, a static site generator, coupled with the Prologue theme.
Installing Dependencies
Jekyll is based on recent versions of ruby. With Ubuntu 20.04 and up:
sudo apt install ruby-dev
Then install Jekyll and dependencies (in the repository):
# install the jekyll and bundler packages
sudo gem install jekyll bundler
# Build the theme
gem build _themes/prologue/prologue.gemspec
# Retrieve the site's dependencies
bundle install --path vendor/bundle
Running
To run a test server of the website on the local machine, run
bundle exec jekyll serve
Uploading
Commits pushed on the master
branch are automatically applied to the public website. Thus, for development steps, please use another branch (devel
or other). For this, the Gitlab CI is used (described in the .gitlab-ci.yml
) and the process takes less than 10 minutes to install and compile.
Modifying
Changing/adding text is trivial. A page's content is described in a markdown file (same language as this readme), where simple formatting is straight-forward. For more complex formatting, it is also possible to write html directly.
Theme
The theme is a modified version of Prologue, stored in the _themes
directory. It is possible to modify it but remember to run
gem build _themes/prologue/prologue.gemspec
bundle update
afterwards.