THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- uncomment "project.using.mysql=true" and comment out "project.using.derby=true"
- set "servletEngine.webapp.dir=" to the location of your tomcat webapps directory.
- set "widget.deploy.dir=" to the "deploy" folder of the deployed application, e.g. "tomcat/webapps/wookie/deploy"
- set "servletEngine.container.lib.dir" and "servletEngine.context.conf.dir" as described in the comments in build.properties
- complete the database connection details for your database, or simply uncomment to use the default MySQL database setup described above.
Create a user with the role "widgetadmin" in your tomcat installation. For example, add the following to tomcat-users.xml:
...
Then to build and deploy the webapp, run:
ant deploy-webapp
Once Wookie is deployed, you can setup the MySQL tables by running:
ant clean-db
You can then start Tomcat as usual.
...
ant clean-build deploy-webapp
If you want to clean the database use:
ant clean-db
By default Wookie connects to MySQL using Hibernate and the C3P0 connection pooler.
...