Permalink
Browse files

Prepare application entry point

  • Loading branch information...
1 parent d67e205 commit e6dd264edfad01e4f74b413f437e13109c64a5c0 @ixti ixti committed Jan 30, 2012
Showing with 8 additions and 11 deletions.
  1. +5 −7 index.js
  2. +3 −4 package.json
View
@@ -1,9 +1,7 @@
'use strict';
-var NodecaLib = require('nodeca-lib');
-
-// Create application instance
-var app = new NodecaLib.Application({name: 'nodeca', root: __dirname});
-
-// run application
-app.run();
+// Create and run app
+require('nlib').Application.create({
+ name: 'nodeca',
+ root: __dirname
+}).run();
View
@@ -7,9 +7,8 @@
"main": "index.js",
"dependencies":
{
- "nodeca-lib": "https://github.com/nodeca/nodeca-lib/tarball/master",
- "nodeca-core": "https://github.com/nodeca/nodeca-core/tarball/master",
- "nodeca-users": "https://github.com/nodeca/nodeca-users/tarball/master",
- "nodeca-translate": "https://github.com/nodeca/nodeca-translate/tarball/master"
+ "nlib" : "git://github.com/nodeca/nlib.git",
+ "nodeca.core" : "git://github.com/nodeca/nodeca.core.git",
+ "nodeca.forum" : "git://github.com/nodeca/nodeca.forum.git"
}
}

0 comments on commit e6dd264

Please sign in to comment.