Browse files

edited the readme

Signed-off-by: Daniel Fagnan <>
  • Loading branch information...
1 parent 66d980c commit 694f4b4465def0f07a2119b2dad626dbe2becc2f @thehydroimpulse thehydroimpulse committed Dec 14, 2013
Showing with 32 additions and 12 deletions.
  1. +9 −12
  2. +23 −0 index.js
@@ -1,14 +1,18 @@
# Tower.js
-Small components for building apps, manipulating data, and managing a distributed infrastructure.
+Small components for building apps, manipulating data, and managing a distributed application.
+Tower represents a different way to build applications. We present a non-monolithic, distribution of modules that can be used in together, to form Tower, or separately in a normal Node.js program. This ensures that Tower isn't a lock in, and provides extremely coordinated modules.
+Currently, many applications are developed as a single unit. This makes it much harder to develop in teams and to manage the complexity. Thus, Tower provides you the tools to create fully modular applications in a manageable way. This includes tools for both the client-side and server-side. Tower uses the standard Node.js platform (NPM) on the server and component for the client-side.
**Note:** Tower is currently under active development and isn't fully ready for use. Please be aware of this before opening any issues.
Tower is very low level now. It has minimal dependencies. It doesn't depend on jQuery, underscore, mongodb, or any such "limiting" factor. It's all JavaScript. Each micro component is around 1kb, so if you wanted to make things super lean, you can just grab the bare bones you need.
-Some things that were in 0.4.0 aren't there yet in 0.5.0, in particular relations. However, the new way you build modules makes writing these things much easier. This time around solid API principles are in place. Everything must be fast (performance), small (file size), and simple, so it requires minimal mental energy to dig into the code. Needless to say, this is still super alpha software.
-If there's anything in particular you're wondering about, join in the #towerjs IRC.
+If there's anything in particular you're wondering about, create a new issue. The IRC is no longer used much.
The source for the guides on the site are here: They're very much a work in progress.
@@ -17,13 +21,7 @@ The source for the guides on the site are here:
-$ npm install tower
-to get the cli:
-$ npm install tower-cli -g
+$ npm install tower -g # You may need to prepend with `sudo`
@@ -71,7 +69,6 @@ $ tower <verb> <object> [options]
$ tower create recipe my-recipe
-$ tower install recipe my-recipe
$ tower start mongodb
$ tower stop mongodb
$ tower enter mongodb
@@ -29,3 +29,26 @@ if ('undefined' !== typeof window) {
exports.version = '0.5.0';
+ * Initialize
+ */
+exports.initialize = function() {
+ var program = require('commander')
+ .usage('server [options]')
+ .option('-e, --environment [value]', 'sets Tower.env (development, production, test, etc.)', 'development')
+ .option('-p, --port <n>', 'port for the application')
+ .option('-disable-watcher', 'Disable the file watcher.')
+ //.option('--static', 'disable-watch')
+ //.option('--single', 'Single page app')
+ .option('-v, --version')
+ .on('--help', function(){
+ console.log([
+ ' Examples:'
+ , ' tower generate scaffold Post title:string body:text belongsTo:user'
+ , ' tower generate model Post title:string body:text belongsTo:user'
+ ].join("\n"));
+ }).parse(process.argv);
+ return require('tower-proxy')(program);

1 comment on commit 694f4b4


lancejpollard commented on 694f4b4 Dec 14, 2013


Please sign in to comment.