https://github.com/clarin-eric/www-clarin-eu_src
Custom Drupal 7 modules and themes for CLARIN website
https://github.com/clarin-eric/www-clarin-eu_src
Last synced: 5 months ago
JSON representation
Custom Drupal 7 modules and themes for CLARIN website
- Host: GitHub
- URL: https://github.com/clarin-eric/www-clarin-eu_src
- Owner: clarin-eric
- Created: 2016-03-29T13:19:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-02T17:49:18.000Z (almost 4 years ago)
- Last Synced: 2025-09-10T03:14:27.644Z (9 months ago)
- Language: PHP
- Homepage: https://gitlab.com/CLARIN-ERIC/alpine-httpd-drupal
- Size: 2.39 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
== CLARIN website custom Drupal 7 modules and themes
This project produces the CLARIN Horizon subtheme for http://drupal-bootstrap.org/api/bootstrap/7[Drupal Bootstrap].
On every tagged commit, Travis CI runs link:build.sh[`build.sh`] and adds the produced artifacts to the respective release item on GitHub.
To edit the subtheme, please use your own fork of this repository.
Mind to enable Travis CI for that project on `https://travis-ci.org/profile/YOUR_GITHUB_LOGIN`.
Moreover, you have to have set the secret environment variable `DEPLOY_OAUTH_TOKEN` within the Travis CI project settings to the appropriate https://docs.travis-ci.com/user/deployment/releases/#Authenticating-with-an-Oauth-token[OAuth token].
=== Build process
The build.sh script does the following:
. Installs the https://github.com/less/less-plugin-clean-css[less compresser/compiler] (via npm)
. Retrieves the https://github.com/drupalprojects/bootstrap[Drupal bootstrap theme]
. Uses the 'less starter kit' from that theme as a template by copying it to the distribution directory `~/CLARIN_Horizon` (the `.git` directory is removed later on)
. Overlays a fixed set of files from the `sites/all/themes/CLARIN_Horizon` directory (see script for details)
. Imports the https://github.com/twbs/bootstrap.git[bootstrap (LESS) sources] into the distribution directory (replacing the existing `boostrap` directory)
. Overlays the `variables.less` file from the https://github.com/clarin-eric/base_style[CLARIN base style] onto the bootstrap source
. Compiles the root LESS file of this modified starter kit in the distribution directory to the main `css/style.css` file
. Compresses the entire distribution directory into a tarball `~/CLARIN_Horizon.tgz`