Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
61d4c7e7
Commit
61d4c7e7
authored
12 years ago
by
Richard Soderberg
Browse files
Options
Downloads
Patches
Plain Diff
suffix directories with / and add newlines, to match rest of doc
parent
ed73fe02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/ORGANIZATION.md
+11
-7
11 additions, 7 deletions
docs/ORGANIZATION.md
with
11 additions
and
7 deletions
docs/ORGANIZATION.md
+
11
−
7
View file @
61d4c7e7
...
...
@@ -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`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment