Getting Started
📦 Running Kala Server
Section titled “📦 Running Kala Server”Requirements
Section titled “Requirements”- JDK 17+
- Docker (optional, for containerized deployment)
- PostgreSQL + PostGIS (recommended)
- SpatiaLite (optional)
- GDAL (for raster support)
- Justfile (optional, for build script)
Before You Start
Section titled “Before You Start”- Create a
config.tomlfile
prefixPath = ""hostname = "localhost"#port = 8888fileStoreRoot = "/kala-server/public"
[db]#url = "localhost:5432"url = "/kala-server/config.sqlite"username = ""password = ""dbname = ""
[jwt]domain = "kala::server"audience = "kala::server::user"realm = "kala::server::user"secret = "kala::server" # replace this with random
[security]encryptionKey = "/kala-server/default.key"- Define sqlite database location at
db.url - Define
publicDirandfileStoreRootdirectories
Running
Section titled “Running”There are two main options to run Kala Server: using Docker or manually setting it up. But the docker needs the app to be built first/
Option 1: Using Docker
Section titled “Option 1: Using Docker”- Create volumes which contain previouse files and directories
- Run docker compose
docker compose up -dDocker Compose includes:
kala-service: Main serverpostgis: PostgreSQL with PostGIS support
Option 2: Manual Setup
Section titled “Option 2: Manual Setup”git clone https://github.com/your-org/kala-server.gitcd kala-server./gradlew buildFatJarjava -jar build/libs/kala-server-all.jar -c config.tomlAfter successfully running, you can access the Kala Server at http://localhost:10211.