Every repository with this icon (
Every repository with this icon (
hibernate-blog Application
hibernate-blog is a very simple, basic blog app using Helma NG in a somewhat "Rails-ish" way and Hibernate as its ORM/persistence layer.
How to Run the App
- Start your MySQL server and create the DBs (dev & test) + user with:
hibernate-blog/build/init.mysql.sql
Optional: put the jars (needed to make feeds work) which are located in hibernate-blog/build/extra into helma-ng/lib/ext.
Issue, e.g., the following command inside the hibernate-blog directory:
hibernate-blog> ./run script/app.js
- Then point your browser to:
http://localhost:8080/
How to Run the Unit Tests
You need the test DB to be setup (see above).
Issue, e.g., the following command inside the hibernate-blog dir:
hibernate-blog> ./run script/test.js
How to Rebuild the DB Schema
You need the dev DB to be setup (see above).
Issue, e.g., the following command inside the hibernate-blog dir:
hibernate-blog> ./run script/db/rebuild.js
Note: Keep in mind that this will delete any data stored in the DB.
Dependencies
- MySQL (5.0+): http://dev.mysql.com/







