Skip to content

Commit

Permalink
add package.json; update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jankuca committed Mar 18, 2012
1 parent 9580d1e commit f44644e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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!');
});
});
4 changes: 4 additions & 0 deletions package.json
@@ -0,0 +1,4 @@
{
"name": "flowon",
"main": "src/flowon.coffee"
}

0 comments on commit f44644e

Please sign in to comment.