Name: boardwalk
Owner: Data Biosphere
Description: The CGP's faceted portal
Forked from: BD2KGenomics/boardwalk
Created: 2018-03-13 19:51:02.0
Updated: 2018-03-13 19:51:04.0
Pushed: 2018-03-19 18:53:37.0
Homepage: null
Size: 1999
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