Bioblocks Portal is the frontend site for displaying data from the Bioblocks Server.
git clone [email protected]:cBioCenter/bioblocks-portal.git
cd bioblocks-portal
yarn install
To start a local server that talks to Bioblocks.org, simply run:
yarn start:hot
The API endpoint that bioblocks-portal uses is determined by the environment argument API_URL
, so if you want to test out a local bioblocks server instance you can run the frontend like so:
cd bioblocks-portal
API_URL=your.local.bioblocks.server yarn run start:hot
This default is set in webpack.dev.ts and webpack.prod.ts for development and production, respectively.