Skip to content

lastaflute/lastaflute-example-harbor

Repository files navigation

LastaFlute Example Harbor

example project for LastaFlute as single project (with H2)

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

Quick Trial

Can boot it by example of LastaFlute:

  1. git clone https://github.com/lastaflute/lastaflute-example-harbor.git
  2. prepare database by *ReplaceSchema at DBFlute client directory 'dbflute_maihamadb'
  3. compile it by Java8, on e.g. Eclipse or IntelliJ or ... as Maven project
  4. execute the *main() method of (org.docksidestage.boot) HarborBoot
  5. access to http://localhost:8090/harbor
    and login by user 'Pixy' and password 'sea', and can see debug log at console.

*ReplaceSchema

// call manage.sh at lastaflute-example-harbor/dbflute_maihamadb
// and select replace-schema in displayed menu
...:dbflute_maihamadb ...$ sh manage.sh

*main() method

public class HarborBoot {

    public static void main(String[] args) {
        new JettyBoot(8090, "/harbor").asDevelopment(isNoneEnv()).bootAwait();
    }
}

Information

License

Apache License 2.0

Official site

comming soon...

About

example project for LastaFlute as single project (with H2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published