ma2tani / lastaflute-example-waterfront

example project for LastaFlute, ESFlute (with Elasticsearch, also JSP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LastaFlute Example Waterfront

example project for LastaFlute, ESFlute (with Elasticsearch, also JSP)

LastaFlute:
https://github.com/lastaflute/lastaflute

Quick Trial

Can boot it by example of LastaFlute:

  1. start Elasticsearch 2.0
  2. git clone https://github.com/lastaflute/lastaflute-example-waterfront.git
  3. create index: curl -XPUT localhost:9200/maihama -d @dbflute_maihamadb/playes/create-maihama.json
  4. prepare database by *ReplaceSchema at DBFlute client directory 'dbflute_maihamadb'
  5. compile it by Java8, on e.g. Eclipse or IntelliJ or ... as Maven project
  6. execute the *main() method of (org.docksidestage.boot) WaterfrontBoot
  7. 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();
    }
}

Information

License

Apache License 2.0

Official site

comming soon...

About

example project for LastaFlute, ESFlute (with Elasticsearch, also JSP)

License:Apache License 2.0


Languages

Language:Java 87.4%Language:HTML 6.2%Language:XSLT 4.2%Language:Batchfile 0.8%Language:CSS 0.7%Language:Shell 0.5%Language:Perl 0.2%Language:Python 0.1%Language:JavaScript 0.0%Language:Roff 0.0%