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

updated dev infos

parent 8ec7f0e3
Branches
No related tags found
No related merge requests found
...@@ -21,26 +21,38 @@ This application was created by Eike Cochu for his master's degree thesis in com ...@@ -21,26 +21,38 @@ This application was created by Eike Cochu for his master's degree thesis in com
## Development ## Development
### Requirements The following steps were reproduced in that order on a fully updated Ubuntu 15.10 virtual system to create a fully operational development environment for the Vipra projects. These steps are only required for project development. If you want to create a virtual machine for development, create a hard drive with at least 10 GB in size.
Run dependencies 1. Install **required libraries and tools**
```bash
* [Java (8+)](https://www.java.com/) sudo apt-get install openjdk-8-jdk mongodb git nodejs npm maven tomcat8
* [MongoDB (2.6+)](https://www.mongodb.org/) ```
* [ElasticSearch (2.1+)](https://www.elastic.co/products/elasticsearch)
* [DynamicDTM](https://code.google.com/archive/p/princeton-statistical-learning/downloads) if watchman will be used (see below) additional packages are required for building watchman from source
* JavaEE Application Server, e.g. [Tomcat (8+)](https://tomcat.apache.org/) ```bash
build-essential autoconf automake python-dev
Additional build dependencies ```
* [Maven (3+)](https://maven.apache.org/) 2. Install **required node packages** for frontend development
* [Gulp (3.9+)](http://gulpjs.com/) ```bash
* [Bower (1.7+)](http://bower.io/) sudo npm install -g bower gulp
```
### Build
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.
1. Clone this repository to `./vipra` ```bash
2. Navigate to `./vipra` git clone https://github.com/facebook/watchman.git
3. Execute `./build.sh` to build all projects cd watchman
4. Copy `vipra-backend/target/vipra.war` to your JavaEE application server ./autogen.sh
5. Test connections by running `./vipra -t` ./configure
\ No newline at end of file make
sudo make install
```
4. Install **eclipse**. 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.
5. Clone the project repository and build the projects
```bash
git clone https://somerepo.url/vipra.git
cd vipra
./build.sh
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment