Browse files

add package.json; update readme

  • Loading branch information...
1 parent 9580d1e commit f44644e70d75fe28b35ba193d18dccc3b9209456 @jankuca committed Mar 18, 2012
Showing with 7 additions and 3 deletions.
  1. +3 −3 README.md
  2. +4 −0 package.json
View
6 README.md
@@ -7,7 +7,7 @@ FlowOn is a very simple but powerful MVC framework for building RIAs.
// boot.js:
// Load the framework into a global variable
- require('./lib/flowon/src/flowon.js');
+ require('flowon');
// The framework object is loaded into the global object -> accessible as "app" at all time
// Set up the environment
@@ -25,7 +25,7 @@ FlowOn is a very simple but powerful MVC framework for building RIAs.
app.set('db_name', 'test');
app.set('db_server', '127.0.0.1');
app.set('db_port', 27017);
- app.setDbDriver(require('./lib/node-mongodb-native/lib/mongodb/'));
+ app.setDbDriver(MongoDBDriver); // globally exposed by FlowOn
// Set up routes
// The namespace is initially empty (i.e. the domain root)
@@ -314,4 +314,4 @@ Currently (and when Memcached is not available), the system uses file-based cach
Cache.remove('namespace, 'key', function () {
console.log('Removed!');
- });
+ });
View
4 package.json
@@ -0,0 +1,4 @@
+{
+ "name": "flowon",
+ "main": "src/flowon.coffee"
+}

0 comments on commit f44644e

Please sign in to comment.