0.0.4 • Published 13 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 installto 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/collectionsBackbone Collectionssite/scripts/helpersHelpers for Handlebars, Backbone, and generic codesite/scripts/libs3rd Party Librariessite/scripts/modelsBackbone Modelssite/scripts/modulesSelf-contained, Reusable Modules used to construct pagessite/scripts/pagesBackbone Views representing an entire page (or the entire viewport)site/scripts/config.jsRequire.js configurationsite/scripts/loader.coffeeApp loader, responsible for setting up global listenerssite/scripts/main.jsInitial script called by Requirejssite/scripts/router.coffeeBackbone Routersite/scripts/session.coffeeSession state singleton (Backbone Model)site/styles/App-specific LESS variables and mixinsindex.htmlApp'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
13 years ago