Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 1.22 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.22 KB

Novel Rest

CI Docker Pulls

Description

The public API for the Novel Service. Allows to trigger the worker and fetch novels after they are finished

Dev Environment

Docker compose

In the project root create a file .env which contains variables needed for docker compose.

key value description
project_root <path-to-repo> The full path to the repository on the local file system without trailing slash

Start the dependencies declared in docker-compose.yml by running docker compose up -d
Then run the application inside your preferred IDE

Run configuration

Run with the system property variables set to below values by passing in the VM arguments with -D{key}={value}

key value description
NOVEL_SERVICE_CONFIG_FILE <path-to-repo>/novel-service-config.yml Config file location
NOVEL_FOLDER_KEY <path-to-repo>/data A folder to save novels. Used by this and novel-worker