Skip to content

gabsie/data-portal

 
 

Repository files navigation

HCA Data Portal

Developer Workspace

Requirements

Setup

Clone Repo

Clone the data-portal repo:

git@github.com:HumanCellAtlas/data-portal.git
Install git-secrets

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-----'
Install Gatsby Command Line Tool

The Gatsby command line tool is used to develop, build and serve (locally) the Data Portal.

npm install --global gatsby-cli
Install Packages

Run the following command from the project's root directory to install the required packages:

npm install

Development Server

Run the following command from the root directory:

gatsby develop

The development server can be viewed at:

localhost:8000

Deployment

Run the following command to build the application:

gatsby build

Local Production Version

Run the following command to view a built version of the application, locally:

gatsby serve

The built version can be viewed at:

localhost:9000

Application Dependencies

Material Components

HCA Data Preview uses Material Components (https://material.io/components/web/) for its Material Design library.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.2%
  • CSS 23.6%
  • HTML 2.3%
  • Other 0.9%