========================================================
BRABU - BRAMS Ramsin Build Utility
Authors: Luiz Flávio Rodrigues, Denis Eiras

DMD - Modeling and Development Division
CPTEC - Center for Weather Forecast and Climate Studies
INPE - National Institute for Space Research

SUPPORT: brams_help@inpe.br
http://www.cptec.inpe.br
========================================================



Information about the project
=============================

There's 2 BRABU versions:

py2.7 - https://pypi.org/project/brabu-py2.7/
py3.5 - https://pypi.org/project/brabu-py3.5/



Installation Instructions
=========================

=> You must choose between python2.7 or python3.5.

=> Download and run install the pre-requisites and create BRABU directories. Check and run the lines step by step in the
   file install_pre_requisites_py{py-version}.sh

=> Select one of install instructions mode below: 1) for BEGGINNERS, or 2) for ADVANCED USERS, and follow the steps.


1) BEGGINNERS

Install instructions for Linux Brabu pre-compiled package.

=> download the file brabu{brabu-version}-py{py-vesion}.tgz from http://ftp1.cptec.inpe.br/brams/brabu/
=> extract the file:
tar -xzvf file brabu{brabu-version}-py{py-vesion}.tgz
=> Create the virtual env directory. It'll overwrite the $BRABU/bin directory."
python{py-vesion} -m virtualenv $BRABU


2) ADVANCED USERS

Create a Python 3 virtual environment and installing Brabu for Linux though install_brabu.sh:
=> download the file install_brabu_py{py-vesion}.sh
=> Check install_brabu_{py-version}.sh and execute the commands line by line.



Running Brabu
=============
=> 1) Activate virtual environment
cd $BRABU && source $BRABU/bin/activate

=> 2) Create brabu alias
alias brabu='$BRABU/bin/python${BRABU_PY_VERSION} lib/python${BRABU_PY_VERSION}/site-packages/brabu/brabu.py'

=> 3) To run brabu, enter the $BRABU directory and execute:
brabu

