blog-ng 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:
Optional: put the jars (needed to make feeds work) which are located in blog-ng/build/extra into helma-ng/lib/ext.
Issue, e.g., the following command inside the blog-ng directory:
Given you installed the Helma NG Debian package on your system.
blog-ng> java -jar run.jar ../helma-ng/run.jar startApp.js
Then point your browser to:
How to Run the Unit Tests
You need the test DB to be setup (see above).
blog-ng> java -jar run.jar ../helma-ng/execTests.js
How to Rebuild the DB Schema
You need the dev DB to be setup (see above).
blog-ng> java -jar run.jar ../helma-ng/rebuildDb.js
Note: Keep in mind that this will delete any data stored in the DB.
- MySQL (5.0+): http://dev.mysql.com/