Skip to content

Commit

Permalink
Updated README.md with prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-jain-94 committed Aug 24, 2017
1 parent 7845499 commit 74c5e2f
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,32 @@
[![Build Status](https://travis-ci.org/nishant-jain-94/sro-ontology-manager.svg?branch=dev-mq-ui-refactor)](https://travis-ci.org/nishant-jain-94/sro-ontology-manager) [![Coverage Status](https://coveralls.io/repos/github/nishant-jain-94/sro-ontology-manager/badge.svg?branch=dev-mq-ui-refactor)](https://coveralls.io/github/nishant-jain-94/sro-ontology-manager?branch=dev-mq-ui-refactor)


### Approach
### Approach ###
![RepresentingEntitiesUsingWorkerQueue](./thoughts/SRO-RepresentingEntitiesInGraphDBUsingWorkerQueues-v1.1.png)

## Running Ontology Manager
## Prerequisites ##

```
docker-compose build --build -d
```
1. Docker (Version 1.12.6, build 78d1802 while in development)
2. Docker-Compose (Version 1.9.0, build 2585387 while in development)
3. Bash Shell if on Windows. You are good to go if you are on linux.
4. Place the mongodump in the current folder named as `dump`.
5. List of ports to be free:

5.1 Would require port `7474` and `7687` to run Neo4j

5.2 Would require port `5672` and `15672` to run RabbitMQ. `15672` is to run RabbitMQ Management Interface.

### Running Node Factory Seperately ###
5.3 Would require port `27017` and `28017` to run MongoDB.

Remain in the context of SRO-ONTOLOGY-MANAGER and execute the following command.
```
docker build -t node_factory -f ontology_processors_neo4j/node_factory/Dockerfile .
```
5.4 TODO: List other ports of application.

6. TODO: Adding a Vagrant Box meeting all the requirements.
## Running Ontology Manager ##

#### Why to remain in the context of SRO-ONTOLOGY-MANAGER? ####
```
# Install dependencies across all the modules
yarn run install
All the utils like neo4j_utils, amqp_utils, sro_utils, are present in the SRO-ONTOLOGY-MANAGER and a symlinks is created in the node-factory, relation-factory and other Microservices.
# Build and run all the services
docker-compose up --build -d
```

0 comments on commit 74c5e2f

Please sign in to comment.