0.0.4 • Published 11 years ago
connexions-webview v0.0.4
Connexions
Development and Building
Below are instructions for optimizing the site and a layout of how the code is organized.
Hosting Yourself
- Download and extract (if necessary)
- Install Node.js (and npm) if necessary
- Run
npm install
to install test and build dependencies - (optional) Run tests with
npm test
- Build the production code with
npm run build
- Configure your server to point at
dist/index.html
- Note: You can also host the development version at
site/index.html
(no build required)
Directory Layout
site/
Development version of the sitesite/data/
Hardcoded datasite/images/
Images used throughout the sitesite/scripts/
Site scripts and 3rd party librariessite/scripts/collections
Backbone Collectionssite/scripts/helpers
Helpers for Handlebars, Backbone, and generic codesite/scripts/libs
3rd Party Librariessite/scripts/models
Backbone Modelssite/scripts/modules
Self-contained, Reusable Modules used to construct pagessite/scripts/pages
Backbone Views representing an entire page (or the entire viewport)site/scripts/config.js
Require.js configurationsite/scripts/loader.coffee
App loader, responsible for setting up global listenerssite/scripts/main.js
Initial script called by Requirejssite/scripts/router.coffee
Backbone Routersite/scripts/session.coffee
Session state singleton (Backbone Model)site/styles/
App-specific LESS variables and mixinsindex.html
App's HTML Page
License
This software is subject to the provisions of the GNU Affero General Public License Version 3.0 (AGPL). See license.txt for details. Copyright (c) 2013 Rice University.
0.0.4
11 years ago