Skip to content
Snippets Groups Projects
Commit 923e0597 authored by Stefano Borini's avatar Stefano Borini Committed by GitHub
Browse files

Merge pull request #106 from force-h2020/installation

Added installation instructions
parents da329f28 7933aabd
No related branches found
No related tags found
No related merge requests found
......@@ -4,3 +4,4 @@ FORCE BDSS
This repository contains the implementation of the Business Decision System.
It is implemented under the FORCE project (Horizon 2020/NMBP-23-2016/721027).
To install, follow the `installation instructions <doc/source/installation.rst>`_
......@@ -10,6 +10,7 @@ User Manual
:maxdepth: 1
Introduction <introduction>
Installation instructions <installation>
Design <design>
Plugin development <plugin_development>
......
Installation Instructions
-------------------------
To install force-bdss and the workflow manager, first checkout the following
git repositories::
git clone https://github.com/force-h2020/force-bdss
git clone https://github.com/force-h2020/force-wfmanager
git clone https://github.com/force-h2020/force-bdss-plugin-enthought-example
The last repository is optional, but recommended if you want to practice
writing plugins.
Next, download EDM package manager, and create an appropriate
environment::
wget https://package-data.enthought.com/edm/rh5_x86_64/1.4/edm_1.4.1_linux_x86_64.sh && bash ./edm_1.4.1_linux_x86_64.sh -b -p $HOME
export PATH=${HOME}/edm/bin:${PATH}
edm environments create --version 3.5 force
edm shell --environment=force
Veryfy that your prompt changes to add "(force)".
Install the required packages for the workflow manager::
cat force-wfmanager/requirements/edm_requirements.txt | grep -v "^#" | while read line; do edm install -y `echo $line | awk '{print $1"=="$2}'`; done
Now, install the bdss::
pushd force-bdss
pip install -r requirements/requirements.txt
pip install -e .
popd
the workflow manager::
pushd force-wfmanager
pip install -r requirements/requirements.txt
pip install -e .
popd
and (optional, but recommended), the example plugins::
pushd force-bdss-plugin-enthought-example
pip install -r requirements/requirements.txt
pip install -e .
popd
Now you can invoke the workflow manager with force_wfmanager,
and the bdss with force_bdss.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment