Related: Trouble Shooting

Install Command line tool

## Linux install

curl -s http://ebean.io/cli-dist/install | bash

The command line tool is optional, we don't strictly need it but it does some useful tasks. We can do all these tasks manually.

  • Generates Finders
  • Generates ebean.mf
  • Add GenerateDbMigration (code to generate DB Migrations)
  • Add application-test.yml
  • Add logback-test.xml

Alternate manual installation (Linux)

cd ~/.local/bin

curl http://ebean.io/cli-dist/ebean-init-1.5.jar > ebean-init-1.5.jar
curl http://ebean.io/cli-dist/ebeaninit > ebeaninit

ln -s ebean-init-1.5.jar ebean-init.jar
chmod +x ebeaninit

Next: Write an entity bean using Java Kotlin