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



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

There's 2 versions nowadays:
py2.7 - https://pypi.org/project/brabu-py2.7/
py3.5 - https://pypi.org/project/brabu-py3.5/


PRE-REQUISITES: Python 2.7 or 3.5
You must install one of them:
2.7) sudo apt-get install python2.7

3.5) sudo apt-get install python3.5

    If you can't find python3.5 version, you may run it before install:
    sudo add-apt-repository ppa:deadsnakes/ppa
    sudo apt-get update

Select mode 1 for Begginners or mode 2 for Advanced Users:

1) Install instructions for Linux Brabu pre-compiled package (for Begginners - offline mode - don't requires an internet connection for installing):
=> Create a folder, e.g.:
mkdir ~/brabu
=> download the file brabu.tgz
=> extract the file brabu.tgz
tar -xzvf brabu.tgz


2) Create a Python 3 virtual environment and installing Brabu for Linux
  (for Advanced Users - requires an internet conneciton):
=> Check install_brabu.sh and execute the commands.



Running Brabu
=============


### 1) Select Py version
# export BRABU_PY_VERSION="2.7"
export BRABU_PY_VERSION="3.5"
export BRABU_VERSION_NAME='brabu-py'${BRABU_PY_VERSION}


### 2) Configure brabu directories for running before:
export BRABU=~/$BRABU_VERSION_NAME
export PYTHONPATH=$BRABU:$BRABU/lib/python${BRABU_PY_VERSION}/site-packages/brabu
export BRABU_DATA_DIR=$BRABU/data

### 3) Activate virtual environment
cd $BRABU && source $BRABU/bin/activate

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

### 5) To run brabu, enter the $BRABU directory and execute:
brabu

