Project information on NIWA's teamwork: https://teamwork.niwa.co.nz/display/NZPTIS
--
Issues are used for
- User Stories to specify functional requirements (labels: story, story must, story should, story could, story wont)
- Tasks to help stay on top of things (label: tasks)
- Discussion threads to keep all on the same page (label: discussion)
- Bugs to track any software related bugs and issues (label: bug)
GitHub's standard view of issues can be found here
https://github.com/dumparkltd/tsunami-db/issues
A more flexible "agile" view, especially for categorising and prioritising user stories, is offered by Waffle.io
https://waffle.io/dumparkltd/tsunami-db
Note: When using Waffle.io for the first time you will have to grant it permission to access your GitHub account
--
Issues can be assigned to labels that you can find here
https://github.com/dumparkltd/tsunami-db/labels
--
Issues can be assigned to milestones that you can find here
https://github.com/dumparkltd/tsunami-db/milestones
--
Optimisation and bundling is done using requirejs optimizer (see http://requirejs.org/docs/optimization.html for installing requirejs). Once installed, run from the repository root (branch master or whatever branch/tag you are seeking to deploy)
r.js -o app/app.build.js
This will generate all files inside a /build
folder within the repository (you can changet the target directory here: https://github.com/dumparkltd/tsunami-db/blob/master/app/app.build.js#L4)
The content of the build folder can now be deployed to any webhost or commited to gh-pages (see below)
Unfortunately there is no automated deploy script in place to deploy to GitHub pages. To do so manually, follow these steps
Option A (recommended): assuming you have cloned the repository twice, once for the source branch (master, etc) and once for the target branch (gh-pages)
- delete content of target branch
- copy content of build folder to target branch
- commit changes (
git add --all
,git commit -m 'update message'
) - publish changes to target/gh-pages branch (
git push origin gh-pages
or to forcegit push -f origin gh-pages:gh-pages
)
Option B assuming you have cloned the repository only once
- copy content of build folder to a folder outside the repository
- switch to target branch (
git checkout gh-pages
) - delete content of target branch
- copy content of folder outside repository to target branch
- commit changes (
git add --all
,git commit -m 'update message'
) - publish changes to target/gh-pages branch (
git push origin gh-pages
or to forcegit push -f origin gh-pages:gh-pages
)