Skip to content

herrdivad/anvil-portal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anvil Portal

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.

Content Contributor Guide

Information about creating/modifying the site content can be found here: https://anvilproject.org/content-guide

Setting Up a Developer Workspace

Requirements

Setup

Clone Repo

Clone the anvil-portal repo:

[email protected]:anvilproject/anvil-portal.git
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:

npm start

Or if using Windows:

npm run start-windows

The development server can be viewed at:

localhost:8000

Building

Run the following command to build the application:

npm run-script build

Or on Windows:

npm run build-windows

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

Troubleshooting installation on Windows

  • 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.

About

The front-facing AnVIL user portal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 58.7%
  • JavaScript 24.3%
  • TypeScript 9.0%
  • CSS 7.0%
  • Python 0.7%
  • HTML 0.2%
  • Other 0.1%