The front-facing AnVIL user portal located at https://anvilproject.org
AnVIL is an Analysis, Visualization, and Informatics Lab-space for democratizing genomic data access, sharing and computing across large genomic-related data sets.
Information about creating/modifying the site content can be found here: https://anvilproject.org/content-guide
-
Node.js
(https://nodejs.org/en/), version 14.16.0. -
We recommend using
n
(https://github.com/tj/n) as the Node.js package manger. -
npm
(https://www.npmjs.com/) is bundled withNode.js
and is required to manage application dependencies.
Clone the anvil-portal
repo:
[email protected]:anvilproject/anvil-portal.git
The Gatsby command line tool is used to develop, build and serve (locally) the Data Portal.
npm install --global gatsby-cli
Run the following command from the project's root directory to install the required packages:
npm install
Run the following command from the root directory:
npm start
Or if using Windows:
npm run start-windows
The development server can be viewed at:
localhost:8000
Run the following command to build the application:
npm run-script build
Or on Windows:
npm run build-windows
Run the following command to view a built version of the application, locally:
gatsby serve
The built version can be viewed at:
localhost:9000
-
Make sure that Python and Visual C++ Build Tools are installed (see Gatsby documentation).
-
If Gatsby crashes because of missing files, running
npm rebuild
may help.