Skip to content

CBIIT/nci-webtools-dccps-jpsurv

Repository files navigation

nci-webtools-dccps-seer

Getting Started

After cloning this repository, build the jpsurv development image (cbiitss/jpsurv:dev):

npm run build:image

To start the development server on Linux/macOS, use:

npm run start:dev

To start the development server on Windows, run the following in a non-powershell command prompt:

npm run start:msdev

After starting the container, JPSurv should be available at: http://localhost:9000/jpsurv.

Relevant Docker Commands

  • docker ps
    • To find the running container
  • docker logs -f CONTAINER
    • Shows the log output
  • docker restart CONTAINER
    • Restart the container.
    • WARNING!!! Always restart after making a change to the R and Python code.

Instruction for RStudio

  1. If you need to inspect the source for the JPSurv R package, extract the r-packages/JPSurv_R_package.tar.gz file (in the docker directory, run tar -xvf JPSurv_R_package.tar.gz)
  2. Open JPSurvWrapper.R (if RStudio has the proper file associations, you can just click on the file)
  3. Source File (click source button) to run all the functions contained in the file.
  4. You cannot debug the R code from your browser. You must change the code, then restart the docker container (see above) to see your changes.

External Technologies Used

  • ggplot2
  • ggrepel
  • Python Flask
  • rjson
  • R
  • R Studio

Internal Technologies Used

  • jpsurv R package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published