Skip to content

galaxyproject/jxtx

Repository files navigation

JXTX Foundation Website

https://jxtxfoundation.org

Developer Workspace Setup

Requirements

Setup

Clone the jxtx repo:

[email protected]:galaxyproject/jxtx.git

Install Gatsby Command Line Tool

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

npm install --global gatsby-cli

Install npm Packages

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

npm install

Start the Development Server

Run the following command from the project root directory:

npm start

The development server can be viewed at:

localhost:8000

Building

Run the following command to build the application:

npm run 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

Notes from @scottcain

I was unable to get this to build with npm and it was difficult with yarn, but this appeared to be the magic incationation on my M4 Mac:

  nvm use 18
  rm package-lock.json
  rm -rf node_modules
  yarn install
  GATSBY_CPU_COUNT=1 yarn build
  yarn serve

Solution distilled from this long discussion of the initial error relating to the yoga-layout-prebuilt package: gatsbyjs/gatsby#24577.

Deployment

The application is auto deployed on Netlify by pushing changes to the main branch.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9