Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.73 KB

README.md

File metadata and controls

66 lines (44 loc) · 1.73 KB

Build Status

Prerequisites

Environment

  • use H2 database in dev,test profile
  • use BAE MySQL in prod profile

setup development environment

$ mvn install
$ mvn eclipse:eclipse -DdownloadSources=true

run restful api server

$ cd dionysus-rest
$ mvn spring-boot:run

invoke restful api

$ curl http://localhost:8080/categories
$ curl -X  POST -H "Content-type:application/json" -d '{"name":"test"}' http://localhost:8080/categories
$ curl http://localhost:8080/categories/1

or start full application

$ cd dionysus-webapp
$ mvn spring-boot:run
$ browser http://localhost:8080/api/v1/categories

create war

$ mvn package

open administrator console $ brower http://localhost:8080/admin

Client side development

startup application server

$ cd dionysus-webapp
$ mvn spring-boot:run

launch client side application

$ cd dionysus-client/yo
$ grunt serve

Note

no need to use persistence.xml when using spring annotation. Ignore 'No persistence.xml file found in project',