Skip to content

Web interface for "The New Zealand Palaeo-tsunami Database"

Notifications You must be signed in to change notification settings

niwa/tsunami-db

Repository files navigation

Web interface for "The New Zealand Palaeo-tsunami Database"

Project information on NIWA's teamwork: https://teamwork.niwa.co.nz/display/NZPTIS

--

Issues

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)

Standard View

GitHub's standard view of issues can be found here

https://github.com/dumparkltd/tsunami-db/issues

Agile View

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

--

Labels

Issues can be assigned to labels that you can find here

https://github.com/dumparkltd/tsunami-db/labels

--

Milestones

Issues can be assigned to milestones that you can find here

https://github.com/dumparkltd/tsunami-db/milestones

--

Deploy

Optimise and bundle

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)

Commit to gh-pages branch

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)

  1. delete content of target branch
  2. copy content of build folder to target branch
  3. commit changes (git add --all, git commit -m 'update message')
  4. publish changes to target/gh-pages branch (git push origin gh-pages or to force git push -f origin gh-pages:gh-pages)

Option B assuming you have cloned the repository only once

  1. copy content of build folder to a folder outside the repository
  2. switch to target branch (git checkout gh-pages)
  3. delete content of target branch
  4. copy content of folder outside repository to target branch
  5. commit changes (git add --all, git commit -m 'update message')
  6. publish changes to target/gh-pages branch (git push origin gh-pages or to force git push -f origin gh-pages:gh-pages)

About

Web interface for "The New Zealand Palaeo-tsunami Database"

Resources

Stars

Watchers

Forks

Packages

No packages published