Skip to content
Snippets Groups Projects
Commit 937fd46d authored by Eike Cochu's avatar Eike Cochu
Browse files

updated build information

parent 34fb9d2d
No related branches found
No related tags found
No related merge requests found
...@@ -30,17 +30,17 @@ The following steps were reproduced in that order on a fully updated Ubuntu 15.1 ...@@ -30,17 +30,17 @@ The following steps were reproduced in that order on a fully updated Ubuntu 15.1
* maven3: to install project dependencies * maven3: to install project dependencies
* Tomcat 8: a JavaEE application server * Tomcat 8: a JavaEE application server
* gsl, gflags: for building dtm (see below) * gsl, gflags: for building dtm (see below)
```bash ```bash
sudo apt-get install openjdk-8-jdk mongodb git maven tomcat8 libgsl0-dev sudo apt-get install openjdk-8-jdk mongodb git maven tomcat8 libgsl0-dev
``` ```
install a recent version of **nodejs** (the official repositories contain old versions) 2. install a recent version of **nodejs** (the official repositories contain old versions)
```bash ```bash
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install nodejs sudo apt-get install nodejs
# gulp needs a node executable, ubuntu only creates a nodejs executable # gulp needs a node executable, ubuntu only creates a nodejs executable
sudo ln -s /usr/bin/nodejs /usr/bin/node sudo ln -s /usr/bin/nodejs /usr/bin/node
bower inst
``` ```
if watchman will be used (see below) additional packages are required for building watchman from source if watchman will be used (see below) additional packages are required for building watchman from source
...@@ -48,12 +48,12 @@ The following steps were reproduced in that order on a fully updated Ubuntu 15.1 ...@@ -48,12 +48,12 @@ The following steps were reproduced in that order on a fully updated Ubuntu 15.1
build-essential autoconf automake python-dev build-essential autoconf automake python-dev
``` ```
2. Install **required node packages** for frontend development 3. Install **required node packages** for frontend development
```bash ```bash
sudo npm install -g bower gulp sudo npm install -g bower gulp
``` ```
3. Build and install **watchman**. This step is optional but recommended, as nodejs watchers are less performant. This is only required if the `gulp watch` command will be used to continuously rebuild the frontend project assets. 4. Build and install **watchman**. This step is optional but recommended, as nodejs watchers are less performant. This is only required if the `gulp watch` command will be used to continuously rebuild the frontend project assets.
```bash ```bash
git clone https://github.com/facebook/watchman.git git clone https://github.com/facebook/watchman.git
cd watchman cd watchman
...@@ -67,16 +67,16 @@ The following steps were reproduced in that order on a fully updated Ubuntu 15.1 ...@@ -67,16 +67,16 @@ The following steps were reproduced in that order on a fully updated Ubuntu 15.1
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
``` ```
4. Install **Eclipse EE**. A different Java development IDE (or none at all) can be used, but the Vipra projects are made with eclipse and come with settings and run configurations. Install the M2Eclipse plugin for maven support in eclipse, if not yet installed. The plugin will download the required project dependencies and manage the project configurations, build versioning and packaging. Set up the installed Java EE application server in Eclipse. Add the `vipra-backend` project to the web server. 5. Install **Eclipse EE**. A different Java development IDE (or none at all) can be used, but the Vipra projects are made with eclipse and come with settings and run configurations. Install the M2Eclipse plugin for maven support in eclipse, if not yet installed. The plugin will download the required project dependencies and manage the project configurations, build versioning and packaging. Set up the installed Java EE application server in Eclipse. Add the `vipra-backend` project to the web server.
5. Clone the project repository and build the projects 6. Clone the project repository and build the projects
```bash ```bash
git clone https://somerepo.url/vipra.git git clone https://somerepo.url/vipra.git
cd vipra cd vipra
./build.sh ./build.sh
``` ```
6. Build **dtm binaries**. The repository was added to the vipra project because the original repository is/was hosted on [Google Code](https://code.google.com/archive/p/princeton-statistical-learning/downloads). Refer to dtm_release/README if problems during the build arise. 7. Build **dtm binaries**. The repository was added to the vipra project because the original repository is/was hosted on [Google Code](https://code.google.com/archive/p/princeton-statistical-learning/downloads). Refer to dtm_release/README if problems during the build arise.
```bash ```bash
cd dtm_release cd dtm_release
make make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment