Coder Social home page Coder Social logo

aule-test's Introduction

Aulë

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

Warning: This is a work in progress, probably not yet ready for use!

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. RequireJS is used for modularity 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.

Installation and configuration

Start by getting the source code:

git clone https://github.com/varda/aule.git
git submodule init
git submodule update

Now copy web/scripts/config.coffee.example to web/scripts/config.coffee and modify according to your needs.

Since communication between Aulë and Varda is subject to the Same origin policy, both must be served from the same site (though see the Todo note on CORS below).

The easiest way to serve Aulë is by configuring Varda to do this for you. Please see the Varda documentation for details.

Another option is to configure a web server to reverse-proxy requests for Varda and serve the static Aulë files directly. An example nginx configuration:

upstream varda {
    server 127.0.0.1:5000;
}

server {
    listen 443;
    location /aule {
        root /var/www/aule/web;
        try_files $uri /index.html;
    }
    location / {
        proxy_pass http://varda/;
    }
}

Todo

  • Implement Cross-origin resource sharing (CORS) to enable serving Aulë and Varda from different sites.
  • Get rid of the hard-coded absolute paths (starting with /aule) in web/index.html. This is tricky, since the request location may contain any number of / characters.
  • Pre-compile Less, CoffeeScript, and Handlebars files, and use minified versions of JavaScript files.

Copyright

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

aule-test's People

Contributors

martijnvermaat avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.