Skip to content

Commit

Permalink
restructuring to fit ng-boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Sep 23, 2013
1 parent 3afacfa commit 37a4556
Show file tree
Hide file tree
Showing 112 changed files with 74 additions and 17 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec/reports
test/tmp
test/version_tmp
tmp
Thubs.db
Thumbs.db

# YARD artifacts
.yardoc
Expand Down Expand Up @@ -62,4 +62,7 @@ logs
results

npm-debug.log
node_modules
node_modules/
build/
bin/
vendor/
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
language: node_js
node_js:
- 0.1
- "0.10"

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install --quiet -g karma
- ./scripts/web-server.js > /dev/null &
- sleep 1 # give server time to start
- npm install --quiet -g grunt-cli karma bower
- bower install

script: grunt

script:
- karma start config/karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox
- karma start config/karma-e2e.conf.js --reporters=dots --browsers=Firefox
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,33 @@ baw-client

The AngularJS client for the bioacoustic workbench


# Install instructions
$ npm -g install grunt-cli karma bower

cd to your cloned directory and then

$ npm install

$ bower install

To add new bower packages

$ bower install



To develop:

$ grunt watch

and browse to `localhost:8080`

To build:

$ grunt compile

and copy the artefacts from the `/bin` directory.


Based off the [ng-boilerplate](https://github.com/ngbp/ng-boilerplate) library.
Empty file removed libs/assets/.gitkeep
Empty file.
1 change: 0 additions & 1 deletion libs/assets/javascripts/lib.js

This file was deleted.

Empty file removed logs/.gitkeep
Empty file.
33 changes: 27 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
{
"author": "Anthony Truskinger",
"name": "baw-client",
"description": "The angular client for the QUT Bioacoustics server",
"version": "",
"description": "The AngularJS client for the QUT Bioacoustics server",
"licenses": {
"type": "Apache",
"url": "https://github.com/QutBioacoustics/baw-client/blob/master/LICENSE"
},
"bugs": "https://github.com/QutBioacoustics/baw-client/issues",
"repository": {
"type": "git",
"url": "https://github.com/QutBioacoustics/baw-client.git"
},
"devDependencies": {
"phantomjs" : "*",
"karma" : "*",
"karma-junit-reporter" : "*",
"karma-jasmine" : "*",
"karma-ng-scenario" : "*"
"grunt": "~0.4.1",
"grunt-recess": "~0.3.0",
"grunt-contrib-clean": "~0.4.1",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-jshint": "~0.4.3",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-watch": "~0.4.0",
"grunt-contrib-uglify": "~0.2.0",
"grunt-karma": "~0.5.0",
"grunt-ngmin": "0.0.2",
"grunt-html2js": "~0.1.3",
"grunt-contrib-coffee": "~0.7.0",
"grunt-coffeelint": "0.0.6",
"grunt-conventional-changelog": "~0.1.1",
"grunt-bump": "0.0.6"
},
"private": true
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 7 additions & 1 deletion app/index.html → src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<meta name="description" content="" />

<!-- todo add back in assets -->
<!-- compiled CSS --><% styles.forEach( function ( file ) { %>
<link rel="stylesheet" type="text/css" href="<%= file %>" /><% }); %>

<!-- compiled JavaScript --><% scripts.forEach( function ( file ) { %>
<script type="text/javascript" src="<%= file %>"></script><% }); %>

<!--<script src="https://login.persona.org/include.js"></script>-->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAWT_qg_GDQVSlQB9O_1CEQf8l4bErP5Ek&sensor=false"></script>

Expand Down Expand Up @@ -112,7 +118,7 @@ <h3>Additional information is required</h3>
</div>

<footer>
Bio-Acoustic Workbench, an open source eScience initiative.
Bio-Acoustic Workbench, an open source eScience initiative. v<%= version %>
</footer>
</body>
</html>

0 comments on commit 37a4556

Please sign in to comment.