-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated dependecies, removed need for global npm packages
- Loading branch information
Showing
3 changed files
with
28 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,25 +7,17 @@ The AngularJS client for the bioacoustic workbench | |
--- | ||
## Install instructions | ||
|
||
Normally this would work: | ||
$ npm -g install grunt-cli karma bower | ||
`npm` is required. | ||
|
||
Specific version of karma due to dependency issues. | ||
Temporary fix: | ||
$ npm install -g [email protected] | ||
$ npm -g install grunt-cli karma bower | ||
|
||
cd to your cloned directory and then install `npm` and `bower` modules. | ||
Run: | ||
|
||
$ npm i -g [email protected] | ||
|
||
$ npm install | ||
|
||
$ bower install | ||
$ npm run setup | ||
|
||
This will execute `npm install` and `bower install` to install build and vendor dependencies respectively. | ||
|
||
## To develop: | ||
|
||
$ grunt watch | ||
$ npm run watch | ||
|
||
and browse to the karma tab first `localhost:<port>` (see output for port number), then `localhost:8080` after the karma unit tests have run. | ||
|
||
|
@@ -37,9 +29,9 @@ You'll need to configure `build.config.js` when adding any new grunt packages to | |
|
||
## To build: | ||
|
||
$ grunt | ||
$ npm run build | ||
|
||
and copy the artefacts from the `/bin` directory. | ||
and copy the artifacts from the `/bin` directory. | ||
|
||
|
||
The `grunt` runner will accept three build options that will rewrite important variables. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.