Every repository with this icon (
Every repository with this icon (
tree 3d7e7d6e69646bb2ed53bf3fb4347b553726ed24
parent b813ad60e07d71edf66892fe80609ac2ee01d3ba
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.markdown | ||
| |
app/ | ||
| |
build/ | ||
| |
config/ | ||
| |
db/ | ||
| |
lib/ | ||
| |
main.js | ||
| |
modules/ | ||
| |
run | ||
| |
run.bat | ||
| |
script/ | ||
| |
static/ | ||
| |
test/ |
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/








