power
v0.1.0
Published
Thanks for installing Tower and using it to build an application! You can read this file for more information on how to get started. You can also read the website we've made: http://towerjs.org. There are also plenty of screencasts here: http://towerjs.org/screencast.
Downloads
29
Readme
Tower.js
Thanks for installing Tower and using it to build an application! You can read this file for more information on how to get started. You can also read the website we've made: http://towerjs.org. There are also plenty of screencasts here: http://towerjs.org/screencast.
Install
You've probably already got tower
installed if you're reading this, but just in case we've provided a little instruction. To get started with Tower you'll need the following software:
- Node.js
- Node Package Manager (aka, npm)
- MongoDB
With those two installed you only need to do the following steps to create your first app:
npm install -g forever tower
tower new app-name-here
cd app-name-here
npm install
Next you need to run the watcher to compile your assets. Run this in a new window that you'll keep open:
cake watch
If you don't have the cake
command, install coffeescript globally with npm install -g coffee-script
.
Now your application is fully setup and ready to run with forever
:
forever server.js
You can discover the other commands by using tower --help
. You also have access to a console with tower console
. Look to the Cakefile
for more commands.
Test
Run tests:
npm test
Read up on testing Tower.js apps.
Deploy
How to deploy Tower Apps to Heroku.
Documentation
If all else fails, see the Rails Guides, should be fairly close.