intermine/im-tables-3

Name: im-tables-3

Owner: InterMine

Description: null

Created: 2016-10-31 10:20:15.0

Updated: 2017-11-30 17:43:50.0

Pushed: 2018-01-15 16:59:24.0

Homepage: null

Size: 235

Language: Clojure

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

im-tables 3 dev

A result viewer for Intermine data.

Development goals

Development Mode
Initial setup

Once you've checked this project, you'll need to download the css dependencies using bower. Assuming you have bower installed already, it's just

r install
Compile css:

Compile css file once.

 less once

Automatically recompile css file on change.

 less auto
Run application:
 clean
 figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3448.

Run tests:
 clean
 doo phantom test once

The above command assumes that you have phantomjs installed. However, please note that doo can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).

Production Build
 clean
 uberjar

That should compile the clojurescript code first, and then create the standalone jar.

When you run the jar you can set the port the ring server will use by setting the environment variable PORT. If it's not set, it will run on port 3000 by default.

To deploy to heroku, first create your app:

ku create

Then deploy the application:

push heroku master

To compile clojurescript to javascript:

 clean
 cljsbuild once min

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.