https://github.com/warelab/gramene-search-vis
Visualizations used in gramene-search
https://github.com/warelab/gramene-search-vis
gramene gramene-search reactjs
Last synced: 2 months ago
JSON representation
Visualizations used in gramene-search
- Host: GitHub
- URL: https://github.com/warelab/gramene-search-vis
- Owner: warelab
- Created: 2015-07-06T14:24:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T12:02:34.000Z (about 2 years ago)
- Last Synced: 2025-02-17T06:13:42.086Z (over 1 year ago)
- Topics: gramene, gramene-search, reactjs
- Language: JavaScript
- Size: 1.58 MB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gramene-search-vis
### Use in another project
`npm install "git://github.com/warelab/gramene-search-vis.git#master"`
Then, in a JSX file
```
// import
var Vis = require('gramene-search-vis').Vis
// in a render method.
// `taxonomy` is an object provided by gramene-taxonomy-with-genomes (see example)
```
### Run example
1. `npm install`
2. `npm install -g live-server`
3. `npm install -g grunt-cli`
### View/run with live recompile/refresh
1. In one terminal window, with wd project root:
`grunt`
This command builds the .js and .css files. It also watches for changes and updates those files while you work.
2. In another, with wd project root:
`live-server`
This runs a server that watches the files generated by grunt and injects a doodad into the page to cause a refresh whenever the files change
3. In your browser, go to [127.0.0.1:8080](http://127.0.0.1:8080)