This is the source of the sda.tech website which is served with OntoWiki, Jekyll and Jekyll-RDF's plugin.
This work is under development.
In order to get started you need to have full Ruby Development Envoirnment with all the headers and Ruby Gems installed. This website is being built by Jekyll version 3.5.1 and its compatible Ruby dev envoirnment and gems. If you have already setup Ruby Development Envoirnment and and Ruby Gems, you can run the following command as per Jekyll version 3.5.1:
gem install jekyll bundler
So after setting up Jekyll on your computer you can clone sda.tech repository at a desirable location on you computer after getting into the directory you can run the following command to see the project running:
bundle exec jekyll serve
We extend the Jekyll Pages docker image to build a sda.tech page from a Git repository or local sources. This is essentially githubpages in a docker image. We have deployed our docker image on Docker Hub smartdataanalytics/site
in order to build the site automatically. The v2tec/watchtower
image is used for watching our sda container and automatically restart it whenever the image is refreshed. Simply you could use Docker Compose to set up the whole pipeline.
docker-compose up -d
Following plugins have been used for building up the sda website:
- Jekyll-rdf
- Jekyll-twitter-plugin
You just have to run the following command inorder to include them in your project directory. The plugins are included in your _config.yml file but at some point if while setting up you get a error log of missing plugins. You can always compare the plugins list in your _config.yml with plugins stated above.
bundle exec jekyll build
For anyone who wants to maintain the sda.tech website and keep updating the latest updates, following is a page by page guide to sda.tech website:
For publications, we use exteral bib file(sda.bib) to present our bib entries. In order to customize the logic of presentation you need to customize the script in assets called, "bib-list-min.js" and to customize the style you can play with "bib-publication-list.css".