Skip to content

Commit

Permalink
added documentation for client dir
Browse files Browse the repository at this point in the history
  • Loading branch information
luiseduardobrito committed Sep 5, 2013
1 parent b1b1419 commit d72b31e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
File renamed without changes.
6 changes: 6 additions & 0 deletions client/help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Client files are serves in the ROOT/js directory.

### Example:

File in project: /client/app.js
File in webserver: /js/app.js
2 changes: 1 addition & 1 deletion scripts/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var Server = function(cb) {
app.set('port', process.env.PORT || 3000);

app.use("/js", express.static(path.resolve(__dirname, "../client")));
app.use("/assets", express.static(path.resolve(__dirname, "../public")));
app.use("/assets", express.static(path.resolve(__dirname, "../assets")));
app.set('view engine', 'ejs');
app.use(expressLayouts)

Expand Down

0 comments on commit d72b31e

Please sign in to comment.