initial commit
Change-Id: I12a20fc994c2a94df96de9d3393b06bf6687f77a
This commit is contained in:
28
src/adservice/README.md
Normal file
28
src/adservice/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Ad Service
|
||||
|
||||
The Ad service provides advertisement based on context keys. If no context keys are provided then it returns random ads.
|
||||
|
||||
## Building locally
|
||||
|
||||
The Ad service uses gradlew to compile/install/distribute. Gradle wrapper is already part of the source code. To build Ad Service, run:
|
||||
|
||||
```
|
||||
./gradlew installDist
|
||||
```
|
||||
It will create executable script src/adservice/build/install/hipstershop/bin/AdService
|
||||
|
||||
### Upgrading gradle version
|
||||
If you need to upgrade the version of gradle then run
|
||||
|
||||
```
|
||||
./gradlew wrapper --gradle-version <new-version>
|
||||
```
|
||||
|
||||
## Building docker image
|
||||
|
||||
From `src/adservice/`, run:
|
||||
|
||||
```
|
||||
docker build ./
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user