set -x

ipython_branch=1.x

# Install a local version of the Kbase narrative
conda remove -n kbase --all -y
conda create -y -n kbase python=2.7 scipy pytables matplotlib readline
source activate kbase
pip install -e .
pip install pexpect

rm -rf bootstrap
git clone https://github.com/kbase/bootstrap bootstrap
pip install -r bootstrap/kb_python_runtime/python-pip-list-narrative

rm -rf narrative
git clone https://github.com/kbase/narrative narrative
cd narrative
git submodule init
git submodule update

export VIRTUAL_ENV="kbase"
bash install.sh

set -x

# Install a local version of the Kbase narrative
conda remove -n kbase --all -y
conda create -y -n kbase python=2.7 scipy pytables matplotlib readline
source activate kbase
pip install -e .
pip install pexpect

# based on instructions in narrative/docs/developer.md
rm -rf bootstrap
git clone https://github.com/kbase/bootstrap bootstrap
pip install -r bootstrap/kb_python_runtime/python-pip-list-narrative

rm -rf narrative
git clone https://github.com/kbase/narrative narrative
cd narrative
git submodule init
git submodule update

export VIRTUAL_ENV="kbase"
bash install.sh

Clean up install script a bit
Clean up install script a bit
