This is the primary repository for PM-Ammo's budget and finance tools created and maintained by ESED.
Install NodeJS: Node provides the framework for all other project components.
Install Git: Open source version control system.
Open terminal and install Gulp:
npm install --global gulp
Next install Bower, our package manager:
npm install -g bower
Navigate to the local folder on your computer where OneApp will reside and clone the repo using PowerShell:
git clone https://github.com/scatcher/pmam-deliverables.git
Install the required node modules
npm install
Install project dependencies (gets everything identified in bower.json)
bower install
To see your code in the browser using gulp
gulp serve
Gulp will concat and minify our code. The output of this process is put into the /dist folder.
gulp build
We can either update all dependencies
bower update
or update a specific dependency
bower update PackageName
Run a single unit test
gulp test
or run continuous tests whenever a file is changed
gulp autotest
or to debug a test
gulp debugtest
John Papa's Angular JS Guide guide should be referenced for all style and structure guidance.
All cached XML requests should be stored in "./xml-cache/", named to match the list. So as an example offline data for a list named Projects would be "./xml-cache/Projects.xml".