Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add package.json; update readme

  • Loading branch information...
commit f44644e70d75fe28b35ba193d18dccc3b9209456 1 parent 9580d1e
@jankuca authored
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"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.