Skip to content

perrywang/dionysus

Repository files navigation

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',

About

No description, website, or topics provided.

Resources

License

Stars

2 stars

Watchers

4 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors