Skip to content

Cute-DB/cute-db-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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