Skip to content

raw-labs/das-sqlite

Repository files navigation

DAS SQLite

License

Data Access Service for SQLite.

Options

Name Description Default Required
database The path to the SQLite database Yes

How to use

Prerequisites

You need to have sbt installed to build the project.

You can install sbt using sdkman:

$ sdk install sbt

Running the server

You can run the server with the following command:

$ sbt run

Docker

To run the server in a docker container you need to follow these steps:

First, you need to build the project:

$ sbt "docker:publishLocal"

Then you can run the image with the following command:

$ docker run -p 50051:50051 <image_id>

... where <image_id> is the id of the image created in the previous step. This will start the server, typically on port 50051.

You can find the image id by looking at the sbt output or by running:

$ docker images