Skip to main content

Data

Overview

To set up a local development environment, build the Data container using Docker Compose.

Data includes:

  • Webup (front-end)
  • Kokos (back-end)
  • PostgreSQL
  • MongoDB

Prerequisites

Steps

1. Clone data-docker-compose github repository

  • With ssh:
    git clone git@github.com:smeup/data-docker-compose.git
  • With https:
    git clone https://github.com/smeup/data-docker-compose.git

2. At the root of the cloned repository, clone webup.js, kokos, kokos-dispatcher and kokos-me-java-fileservice running this commands:

git submodule update --init
git submodule update --remote

This will clone and update them as submodules

3. Clone DSL

Clone the standard DSL in kokos-libs:

  • With ssh:
    git clone git@github.com:smeup/kokos-dsl.git volumes/kokos-libs/kokos-dsl
  • With https:
    git clone https://github.com/smeup/kokos-dsl volumes/kokos-libs/kokos-dsl

4. Run Docker Desktop

info

If you're using Linux you don't need Docker Desktop, but make sure the Docker engine is running and Docker Compose is installed.

5. Build the docker container

docker compose --profile default build

6. Run the docker container

docker compose --profile default up

7. Connect to the services