Skip to content

Commit

Permalink
Merge pull request #2 from trendyol-data-eng-summer-intern-2019/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
yasinuygun authored Jul 19, 2019
2 parents e1acd44 + f2d2215 commit eac3875
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ This repository contains the docker-compose file for the tools used in our recom
</p>

## Usage
When you run `docker-compose up` command in root directory of this repository, all services of the system run with their own docker images. These images placed in this GitHub repository.
There are 2 YAML files which can be used to up the system. One can be used to up the system with currently built images, the other one can be used to up the system by building the images from scratch.

Dockerfiles of the services are also published in this repository. If you wish to change services you can edit their Docekrfiles and run the command `docker-compose -f docker-compose-with-build.yml up` to up the whole system.
If you run `docker-compose up` command in the root directory of this repository, all services of the system run with their own docker images. These images will be placed in this GitHub repository, i.e. currently this scenario is not available since we are in the waitlist for the GitHub Package Registry, you should run the project with the other YAML file.

Dockerfiles (Flume, Spark Master, Spark Worker and Spring Boot) of the services are also provided under images directory in this repository. If you change the Dockerfiles, run the command `docker-compose -f docker-compose-with-build.yml up` to up the whole system.

## JARs
This project uses different jar files for running the web service, streaming and ml components. These jar files are obtained from our repositories:
Spark Master, Spark Worker and Spring Boot services need JAR files to run ML, Streaming and Spring Boot applications. We package those JARs using Maven and SBT from related repositories and put them into releases sections of the related repositories. We download those JARs in the related Dockerfiles using the links below.

* For the web service component:
* https://github.com/trendyol-data-eng-summer-intern-2019/recom-engine-web-service/releases/latest
* For the streaming component:
Expand Down

0 comments on commit eac3875

Please sign in to comment.