# 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.
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.