Cute-DB / cute-db-server

cute-db-server
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Build Status Dependency Status

cute-db-server

Quick Start

bower install
mvn clean package
java -jar target/cutedbserver-x.x.x.jar

Useful curl commands

List runs

curl http://localhost:9000/runs

Add a run

curl -X PUT -H "Content-Type:application/json" -d '{ "jdbcUrl": "jdbc:postgresql://localhost:5432/dbtest", "server": "postgres", "status": "PENDING" }' http://localhost:9000/runs/1

Docker

Prerequisites

Have a proper docker install.

Build docker image

# Build docker image
bower install && mvn clean package docker:build
# List images and find cute-db-server
docker images
# Run it !.. and map it local 80 port
docker run -p 127.0.0.1:80:9000 -t cute-db-server
# Go browse the app
firefox localhost