Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.
/ aule Public archive

A web interface to the Varda database for genomic variation frequencies

License

Notifications You must be signed in to change notification settings

varda/aule

Repository files navigation

Aulë

A web interface to the Varda database for genomic variation frequencies.

Screenshot

Implementation

Aulë is a client-side JavaScript-driven interface implemented in CoffeeScript on top of the Sammy.js framework and can be served entirely as static files. webpack is used for module bundling and Handlebars for templates.

The HTML5 layout is based on Twitter's Bootstrap with the Bootswatch Mono theme and uses Less stylesheets. Font Awesome is used for icons.

Eh, yeah, this means a somewhat modern browser is needed. Tested with Chrome 26 and Firefox 10, both on Linux.

Development

A somewhat recent Node.js installation is required (5.5.0 tested). Install package dependencies with NPM:

npm install

A live-reloading development webserver servers the compiled application when running:

npm run dev

Since communication between Aulë and Varda will be subject to the Same origin policy, Varda should be configured to enable CORS.

Deployment

To compile the application to a bundle that can be served by any webserver, install the package dependencies as above and run:

npm run dist

The bundle and accompanying files can now be found in the dist subdirectory.

Alternatively, pre-compiled bundles can be found from the GitHub releases page.

Automated configuration and deployment of a server running Varda and Aulë is available in the Ansible role for Varda.

Configuration

Aulë looks for its configuration in a global object AULE_CONFIG. See the config.js file for documentation on this.

The index.html in this repository includes the default AULE_CONFIG from config.js. Please modify this file to your needs.

Dependency management

In order to have somewhat reproducible builds, we use npm shrinkwrap to lock down all dependencies. To add or update a dependency, run:

npm install --save --save-exact some-dependency@some-version

Or, if it's a dev dependency:

npm install --save-dev --save-exact some-dev-dependency@some-version

Then update the shrinkwrap:

npm shrinkwrap --dev

Copyright

Manwë is licensed under the MIT License, see the LICENSE file for details. See the AUTHORS file for a list of authors.