From 61d4c7e772e2950977c95889191c41e807ed2d78 Mon Sep 17 00:00:00 2001 From: Richard Soderberg <rsoderberg@gmail.com> Date: Mon, 2 Apr 2012 02:29:11 -0700 Subject: [PATCH] suffix directories with / and add newlines, to match rest of doc --- docs/ORGANIZATION.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/ORGANIZATION.md b/docs/ORGANIZATION.md index 1ea15477f..785f00b36 100644 --- a/docs/ORGANIZATION.md +++ b/docs/ORGANIZATION.md @@ -6,10 +6,12 @@ Several node.js servers are implemented in this repostiory, each is implemented on top of the [express](http://expressjs.com) framework and they share the following directory structure: -* `bin` - Contains the BrowserID servers (browserid, dbwriter, keysgner, and verifier) and CLI tools. +* `bin/` - Contains the BrowserID servers (browserid, dbwriter, keysgner, and verifier) and CLI tools. + * Each node.js application is the "entry point" for that app and is a typical express app. -* `scripts` - Contains more CLI tools +* `scripts/` - Contains more CLI tools + * `run_locally.js` - Script to run all the node.js servers server - typically bound against a well known localhost port. @@ -19,6 +21,7 @@ and they share the following directory structure: during the run (keys, logs, etc). * `resources/` + * `views/` - Express views (server side), served before `static/` (if present) * `static/` - Files served verbatim without any substitution nor server @@ -26,17 +29,18 @@ and they share the following directory structure: * `include.js` - The JS file included by all RPs. - * `dialog` - The meat of the BID dialog, a client side MVC architecture with a state machine + * `dialog/` - The meat of the BID dialog, a client side MVC architecture with a state machine * `views/` - Client side EJS templates, not executed by ejs.js server side - * `resources` - State machine and other logic powering the dialog + * `resources/` - State machine and other logic powering the dialog - * `pages` - Client side business logic for dialog + * `pages/` - Client side business logic for dialog - * `shared` - JavaScript which is re-used across dialogs + * `shared/` - JavaScript which is re-used across dialogs - * `test` - QUnit tests + * `test/` - QUnit tests * `tests/` - Tests written using [vows](http://vowsjs.org) + * Run via `scripts/run_all_tests.sh` -- GitLab