Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtcsngr committed Apr 1, 2015
2 parents b87ef53 + c9fde2d commit deb7858
Show file tree
Hide file tree
Showing 15 changed files with 54 additions and 22,207 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory":"js/lib"
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*~
*.DS_Store
*.DS_Store
js/lib
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
language: node_js
node_js :
- "0.12"
before_script:
- npm install -g bower
- bower install
script: phantomjs js/run-qunit.js test.html

11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,24 @@ bcviz

D3 based JavaScript visualisation for bamcheck file format

Requires bower to install package dependencies.

Creating and running demo:
--------------------------

1. Navigate to bcviz directory in terminal

2. Execute bower to install dependencies:

bower install

3. Start a localhost server in the directory using python:

python -m SimpleHTTPServer 8888 &
python -m SimpleHTTPServer 8888 &

4. In your browser go to:
http://localhost:8888/

http://localhost:8888/

Running tests:
--------------
Expand Down
19 changes: 19 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "bcviz",
"dependencies":{
"jquery":"2.0.3",
"d3":"3.2.8",
"requirejs":"2.1.8"
},
"devDependencies":{
"qunit":"1.15.0"
},
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
8 changes: 4 additions & 4 deletions demo/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<head>
<meta charset="utf-8">
<title>Bamcheck demo</title>
<link rel="stylesheet" type="text/css" href="css/bcviz.css">
<script data-main="main" src="js/lib/require.js"></script>
<link rel="stylesheet" type="text/css" href="/css/bcviz.css">
<script data-main="main" src="/js/lib/requirejs/require.js"></script>
</head>
<body>
<div id="instructions">
Expand All @@ -47,8 +47,8 @@
baseUrl: '/js',
paths: {
jquery: 'lib/jquery-2.0.3',
d3: 'lib/d3'
jquery: 'lib/jquery/jquery',
d3: 'lib/d3/d3'
},
shim: {
d3: {
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<head>
<meta charset="utf-8">
<title>bcviz Test Suite</title>
<link rel="stylesheet" type="text/css" href="css/qunit-1.15.0.css">
<link rel="stylesheet" type="text/css" href="js/lib/qunit/qunit/qunit.css">
<link rel="stylesheet" type="text/css" href="css/bcviz.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<br/><br/>

Expand All @@ -28,6 +28,6 @@

</div>

<script data-main="test/main" src="js/lib/require.js"></script>
<script data-main="test/main" src="js/lib/requirejs/require.js"></script>
</body>
</html>
Loading

0 comments on commit deb7858

Please sign in to comment.