Bymur Software computes Risk and Multi-Risk associated to Natural Hazards. The tool is the final product of BYMUR (BaYesian MUlti-Risk assessment: a case study for natural risks in the city of Naples), an Italian project funded by the Italian Ministry of Education (MIUR) in the frame of 2008 FIRB, Futuro in Ricerca funding program.
In BYMUR project the tool was used to provide a final working pilot application for the city of Naples, considering three natural phenomena, i.e earthquakes, volcanic eruptions and tsunamis.
Bymur is released under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The XML Schema Definitions in the subdir schemas/oq-nrmlib
are originally
taken from the GEM OpenQuake and are
relased under the terms of the GNU Affero General Public License version 3.
sudo apt-get install python-pip python-virtualenv virtualenvwrapper \
python-wxgtk2.8 build-essentials libpng-dev libmysqlclient-dev \
python-dev libfreetype6-dev libxml2-dev libxslt-dev \
libatlas-base-dev gfortran
Tested on Debian 6.0.9, Ubuntu 12.04 and 14.04, packages name could change slightly
[Read http://virtualenvwrapper.readthedocs.org/en/latest/ for more infos]
If you want to use a non-standard directory to store your virtualenvs
you should comment out (or delete) /etc/bash_completion.d/virtualenvwrapper
and then add these instructions in ~/.bashrc
or ~/.profile
:
export WORKON_HOME=$HOME/dev/virtualenvs
export VIRTUALENVWRAPPER_LOG_DIR="$WORKON_HOME"
export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME"
source /etc/bash_completion.d/virtualenvwrapper
$ mkvirtualenv bymur-dev
4. (ugly workaround) While the new virtualenv is activated link the external wxPython module inside it
(bymur_dev)$ ln -s /usr/lib/python2.7/dist-packages/wx* $VIRTUAL_ENV/lib/python2.7/site-packages/
(bymur_dev)$ git clone git@gitlab.bo.ingv.it:perfetti/bymur.git
(bymur_dev)$ pip install --upgrade distribute
(bymur_dev)$ pip install -r requirements.txt