The HCA Data Browser is an AngularJs, built with the Angular CLI tool.
git clone https://github.com/HumanCellAtlas/data-browser.git [folder_name]
npm install -g angular-cli
Navigate to the spa
directory and install client-side dependencies.
npm install
To start the Angular development server, run the following from the spa
directory:
npm start
You can hit the server at http://localhost:4200
.
If you have push access to the remote, you'll need to install git-secrets, enable the commit hooks for it and configure patterns for AWS and Google:
git secrets --install
git secrets --register-aws
git secrets --add '[-]----BEGIN.PRIVATE.KEY-----'
The deployment runbook can be accessed here