By following those steps, you'll install the application development environment
- Clone Git repository:
$ git clone git@github.com:phds/cgrasp.git
- Install
Python
or open a Terminal and type the following:
$ [sudo] apt-get install python2.7-dev
- Create a
virtualenv
to host the application: You may needsudo
to installvirtualenv
globally
# install virtualenv tool manager via pip
$ [sudo] pip install virtualenv
# create a new virtualenv folder called venv
$ virtualenv venv
# activate your virtualenv!
$ source venv/bin/activate
- Install application dependencies via pip:
/!\ Be sure to have your virtualenv activated /!\
This is stipulated by
(venv)
in front of your terminal prompt.
(venv) $ pip install -r requirements.txt
-
Install
GNU MPFR library
to deal with floating points precision: -
Install MPFR's dependencies:
(venv) $ sudo apt-get install libmpfr-dev libmpfr-doc libmpfr4 libmpfr4-dbg
- In order to parser command line you need to install boost library:
(venv) $ sudo apt-get install libboost-all-dev