CHRONOS is a simple to use and deploy web based application used to easily manage any given subject timeline.
Check the demo at Openshift
- Vert.X IO 1.3.0 or above
- Maven 3 or above
- JDK 6 or 7 (Maven POM configured for 7 by default)
- MongoDB 2.0 or above
- git
- Login into Openshift (Create account if required)
- Add Application of type Do-It-Yourself
- Set you application name for the public URL
- On Source Code click on change and paste the git url for CHRONOS: git://github.com/crazyfrozenpenguin/chronos.git
- Then click on Create Application
- Click on My Applications
- Click on your application name
- Click on Add Cartridge
- Click on Select for MongoDB NoSQL Database
- Click on Add Cartridge
-
Open a terminal window and create a working directory of your choice
-
Clone git repo using your openshift git repository address for your app (see web page for app). Substitute the ssh address below with the one from your app: git clone ssh://xxxxxxxxxxxxxxxxxxxxxxxxxx@yyyy-cfp.rhcloud.com/~/git/yyyy.git/
-
cd into the new directory that should have your app name on it and execute: git init touch go.txt git add go.txt git commit -a -m "GO" git push ssh://xxxxxxxxxxxxxxxxxxxxxxxxxx@yyyy-cfp.rhcloud.com/~/git/yyyy.git/
-
Open a browser and browse to you app URL
-
Login into the app using the default admin account: username: admin password: password
-
Change the password on the options web page
-
Edit the timeline, save it and it should be visible on the main page
At this stage the app is only supporting a single login account. You can always SSH into openshift and manage the mongo database. The database has your app name and the user is stored under the users table. Change the username and password as wanted.
Download the distribution code from github in either a zip file or by means of a git clone. If zip file was used, unpack the contents into a directory of your choice.
From the root directory execute:
mvn clean install
A package named chronos-X.X.X-SNAPSHOT-vertx.module.zip should now be available. Note that a tar.gz and tar.bz2 package are also available for convenience.
Unpack the generated chronos-X.X.X-SNAPSHOT-vertx.module.zip file into VERTX_HOME/mods directory.
The web application can then be initialized with vertx:
vertx runmod chronos-X.X.X-SNAPSHOT
You can also start the server from Maven by executing:
mvn vertx:run -Dchronos.webroot.dir=./target/classes/webroot
For such case, no installation in Vert.X module directory is required.
If you decide to import the Maven project in Eclipse, then you can always use the provided Eclipse launcher file :
chronos.launch
vert.x Knockout JS Twitter Bootstrap Timeline JS flipCounter Openshift
And the usual jQuery, Maven and several of their related plugins.