Chon CMS ALPHA

OSGi modular Java CMS

Getting Started

Get started with Chon CMS

Users of choncms are considered to be java deveopers (still we dont have good sample application for end users). However, users of choncms based product - the application that you will build, will be end users. Assuming that you know several java concepts here is how to run choncms:

A

1. Install maven 3

 

2. Generate new chon based project:

             mvn com.choncms:chon-generate:new-project

    Generator will ask few questions:

             - Enter your project name (package) <PROJECT>: com.example

            - Select project generator template (leave blank to use default)

 After success build you should see a new folder "<PROJECT>-chon" with basic project structure.

 

3. Build it

             cd <PROJECT>-chon/bundles

Note: Make sure your target definition (bundles/target-definition/chon.target) points to latest chon release:

Current release:

http://p2.choncms.com/1.5


You may also want to try SNAPSHOT version (the latest developer version):

http://p2.choncms.com/SNAPSHOT


             mvn package

             Note: If you are running this command for the first time please be patient while maven dowloads all dependencies


4. Run the web container using jetty:

             cd <PROJECT>-chon/app/<PROJECT>-web

             mvn jetty:run


5. Goto http://localhost:8080/<PROJECT>-web/

Login with default user and pass: admin 

 

6. Play with templates:

See velocity templates under: <PROJECT>-chon/bundles/<PROJECT>/tpl/

 

Next: Create your own plugin

We are still in alpha version, you can help us to improve this guide and give us a feedback or ask questions on info@choncms.com