blog-ng

Created: 2008-10-05 21:01
Updated: 2016-05-08 14:24

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

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more