Files
PINE/setup_dev_stack.sh
Laura Glendenning d6aa00330d Add development updates.
Including:
1. Generated python documentat in docs/.
2. Starting a new python client in client/.
3. Moving testing data to test/.
4. The addition of Cypress UI tests and pytest tests in test/.
5. A number of bug fixes and improvements.
2020-07-30 11:59:05 -04:00

48 lines
938 B
Bash
Executable File

#!/bin/bash
# (C) 2019 The Johns Hopkins University Applied Physics Laboratory LLC.
set -ex
pushd backend &> /dev/null
pipenv install --dev
popd &> /dev/null
pushd eve &> /dev/null
sudo apt-get install -y mongodb-server
if which systemctl ; then
sudo systemctl stop mongodb
sudo systemctl disable mongodb
fi
rm -rf db/
pipenv install --dev
popd &> /dev/null
pushd frontend/annotation &> /dev/null
npm install
popd &> /dev/null
pushd pipelines/JavaNER/pmap_api &> /dev/null
sudo apt-get install -y default-jdk
pipenv install --dev
popd &> /dev/null
pushd redis &> /dev/null
sudo apt-get install -y redis-server
if which systemctl ; then
sudo systemctl stop redis-server
sudo systemctl disable redis-server
fi
popd &> /dev/null
pushd test &> /dev/null
pipenv install --dev
popd &> /dev/null
pushd test/pine &> /dev/null
npm install
popd &> /dev/null
pushd client &> /dev/null
pipenv install --dev
popd &> /dev/null