Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The map data portal is currently being implemented, available via http://hypocentre.canterbury.ac.nz:5099 and a user account can be requested from Viktor.

Administration

Adding users manually

Running flask shell in the directory will start the Python shell with the server resources available such as the database and associated models. Steps for creating a user account:

Code Block
languagepy
titleCreating a user via command line
linenumberstrue
u = User(email="sample.user@canterbury.ac.nz", firstname="Sample", lastname="User", approver=True, remover=True)
u.set_password("password")
db.session.add(u)
db.session.commit()


Wishlist

Goal: Develop map indicating physical location of field testing, and point where the data is stored/curated.

...