Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Readme updates and server configuration ordering change

  • Loading branch information...
commit 5414035c2c212f4b77513a1af5a61d5cae054669 1 parent bd4cd5b
@robrighter authored
Showing with 5 additions and 4 deletions.
  1. +4 −3 README.md
  2. +1 −1  project/app.js
View
7 README.md
@@ -2,11 +2,12 @@ Node Boilerplate
=================
node-boilerplate takes html-boilerplate, express, connect and Socket.IO and organizes them into a ready to use website project. Its a fast way to get working on your Node website without having to worry about the setup. It takes care of all the boring parts, like setting up your views, 404 page, 500 page, getting the modules organized, etc...
-Node Boilerplate has 3 goals:
+Node Boilerplate has 4 goals:
1. To end the repetition involved with starting a new Node website project
-1. To never install anything outside of the project directory (For easier production deployment)
-2. To make it easy to install additional modules within the project directory
+2. To never install anything outside of the project directory (For easier production deployment)
+3. To make it easy to install additional modules within the project directory
+4. To enable easy upgrade or freezing of project dependencies
To start a project:
View
2  project/app.js
@@ -11,8 +11,8 @@ var server = express.createServer();
server.configure(function(){
server.set('views', __dirname + '/views');
server.use(connect.bodyDecoder());
- server.use(server.router);
server.use(connect.staticProvider(__dirname + '/static'));
+ server.use(server.router);
});
//setup the errors
Please sign in to comment.
Something went wrong with that request. Please try again.