example project for LastaFlute, ESFlute (with Elasticsearch, also JSP)
LastaFlute:
https://github.com/lastaflute/lastaflute
Can boot it by example of LastaFlute:
- start Elasticsearch 2.0
- git clone https://github.com/lastaflute/lastaflute-example-waterfront.git
- create index: curl -XPUT localhost:9200/maihama -d @dbflute_maihamadb/playes/create-maihama.json
- prepare database by *ReplaceSchema at DBFlute client directory 'dbflute_maihamadb'
- compile it by Java8, on e.g. Eclipse or IntelliJ or ... as Maven project
- execute the *main() method of (org.docksidestage.boot) WaterfrontBoot
- access to http://localhost:8099/waterfront
and login by user 'Pixy' and password 'sea', and can see debug log at console.
*ReplaceSchema
// call manage.sh at lastaflute-example-waterfront/dbflute_maihamadb
// and select replace-schema in displayed menu
...:dbflute_maihamadb ...$ sh manage.sh
*main() method
public class WaterfrontBoot {
public static void main(String[] args) {
new TomcatBoot(8099, "/waterfront").useTldDetect().asDevelopment(isNoneEnv()).bootAwait();
}
}
Apache License 2.0
comming soon...