|
StartTheApp
These instructions are provided to help you get the application "installed" and started.
$ cd <bookotron_home>
$ mvn clean install // create a directory for the DB (BoT-4k uses HSQL)
$ mkdir /home/<myuser>/bot-db
$ cd /home/<myuser>/bot-db
// include the HSQL JAR
$ cp <somewhere>/hsqldb-1.8.0.7.jar .
// copy the server.properties (for HSQL)
$ cp <bookotron_home>/bookotron.data/target/classes/server.properties .
// copy and rename the db schema
$ cp <bookotron_home>/bookotron.data/target/hibernate3/sql/book-o-tron-schema.ddl bot-db.script
// start the DB
$ java -cp hsqldb-1.8.0.7.jar org.hsqldb.Server
// start the webserver
$ cd <bookotron_home>/bookotron.web
$ mvn jetty:runYou'll need to get the hsqldb-1.8.0.7.jar (should be in your local maven repo or you can download it from the Internet). Also, these instructions assume bookotron_home is a directory where the bookotron code is checked out to. To view the application, open a browser and browse to: http://localhost:8080 |
► Sign in to add a comment