Ghini / ghini.web

web and geo interface to ghini.desktop database
GNU Affero General Public License v3.0
4 stars 1 forks source link

ghini

a web based interface to botanical garden databases

rationale

ghini, the name is inspired to Luca Ghini, has the aim to offer a web-based interface to a database complying to the ITF2 reccomendations.

the idea is born in august 2012, after Mario Frasca (mathematician) and Saskia Bantjes (agronomist, environmentalist) get in contact with the cuchubo garden in Mompox. the wish to describe it, the thankful words by the president of the foundation named after the cuchubo garden, pushes the two to seek formal help at the botanical garden of the utrecht university, where they get support by the conservator Eric Gouda.

current plan

this program presents botanical collections in geographic context. the collection is managed with an independent program and we advocate usage of line 1.0 of ghini.desktop.

the user exports the complete plants collection in json format and we import it into ghini.web.

you need a script to import your data from the json export to the ghini.web database.

ghini.web is the code running at the site http://gardens.ghini.me

Setting Up

Simply put: download the code, and install the dependencies.

First of all, you need a recent version of nodejs. The one bundled with Debian8, and possibly with anything based on Debian, is v0.10.29, and that's far too old. Follow the instructions on nodejs.org, or trust me and do the following:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

ghini.web is a npm-based program. To get all further dependencies: npm install. To start the server: nodejs web.js.

If npm gets confused, rm -fr ./node_modules/ and try again.

Database Connection

ghini.web keeps its data in a mongodb database. You can set up a sample database by running the some_trees.json script, or you can initialize it by running the import tool, feeding it the ghini.desktop 'export to ghini.web'.

using it