This is a very simple, basic blog app using Helma NG in a somewhat "Rails-ish" way and Hibernate as its ORM/persistence layer.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
build
config
db
lib
modules
static
test
README.markdown
execTests.js
rebuildDb.js
setup.js
startApp.js

README.markdown

blog-ng Application

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

  1. Start your MySQL server and create the DBs (dev & test) + user with:

    blog-ng/build/init.mysql.sql

  2. Optional: put the jars (needed to make feeds work) which are located in blog-ng/build/extra into helma-ng/lib/ext.

  3. Issue, e.g., the following command inside the blog-ng directory:

    blog-ng> ./startApp.js

    Given you installed the Helma NG Debian package on your system.

    Otherwise, e.g.:

    blog-ng> java -jar run.jar ../helma-ng/run.jar startApp.js

  4. Then point your browser to:

    http://localhost:8080/

How to Run the Unit Tests

  1. You need the test DB to be setup (see above).

  2. blog-ng> ./execTests.js

    Resp., e.g.:

    blog-ng> java -jar run.jar ../helma-ng/execTests.js

How to Rebuild the DB Schema

  1. You need the dev DB to be setup (see above).

  2. blog-ng> ./rebuildDb.js

    Resp., e.g.:

    blog-ng> java -jar run.jar ../helma-ng/rebuildDb.js

Note: Keep in mind that this will delete any data stored in the DB.

Dependencies