Name: cgp-boardwalk
Owner: BD2K Center for Translational Genomics
Owner: Data Biosphere
Description: The CGP's faceted portal
Created: 2017-11-22 01:28:28.0
Updated: 2018-04-30 08:26:52.0
Pushed: 2018-04-30 05:31:36.0
Homepage: null
Size: 1988
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
UCSC Boardwalk is a MEAN stack app and uses standard setup/configuration tools (NPM and Grunt).
See the following for more details:
UCSC Boardwalk is an Angular 2 app, built with the Angular CLI tool.
The only prerequisite is Node 4.
git clone git@github.com:clevercanary/ucsc-boardwalk.git [folder_name]
Use NPM to install server-side dependencies.
npm install
From the server
directory, install server-side typings:
typings install
Install Angular CLI if you don't have it already installed. Both of the following steps must be done with npm@3
npm install -g angular-cli
Navigate to the spa
directory and install client-side dependencies.
npm install
To start the Angular 2 development server, run the following from the spa
directory:
npm start
You can hit the server at http://localhost:4200
. Requests to http://localhost:4200/api
will be proxied to http://localhost:3000/api
according to the configuration in proxy.conf.json
. More information can be found in the angular-cli repository.
To start Express, run the following from the root directory:
grunt workon
This will run the express server on http://localhost:3000
Run the following from the spa
directory:
npm test
This will run once through test-suite using PhantomJS. To run through PhantomJS with a file watcher, you can use:
npm test:headless
To run the tests through the browser with a file watcher:
npm test:browser