Giter Site home page Giter Site logo

phylodiver-viz's Introduction

PhylodiverViz -- The Phylodiver Visualization of the FAVE-phylo project

This project was generated with Angular CLI version 13.1.2.

Prepping an Ubuntu VM:

Prepping local ubuntu machine to build phylodiver-viz repo

Install an lts version of node https://github.com/nodesource/distributions/blob/master/README.md

  1. curl -fsSL https://deb.nodesource.com/setup_lts.x > setup_lts.sh
  2. sudo -E bash setup_lts.sh
  3. sudo apt-get install -y nodejs

If the nodejs installation didn't install npm, do so and then install angular https://angular.io/guide/setup-local

  1. sudo apt-get install npm

  2. sudo npm install -g @angular/cli

  3. ng version #if this succeeds, angular cli is working

Install remaining project specific packages. From the top-level project directory of this repo (where the package.json is located):

  1. npm install

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Running end-to-end tests (Cypress)

Run npm run test:e2e to start a dev server and launch Cypress.

Publishing to Github Pages

To publish the contents of the local dist/phylodiver-viz/ (from your machine, not what is committed to github):

npm run deploy-pages

This script copies the files from the dist directory to the root of the gh-pages branch, which is then automatically served as a static site at https://ncsa.github.io/phylodiver-viz/

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

phylodiver-viz's People

Contributors

cblatti3 avatar cholson avatar galmungral avatar matthewberry avatar pgroves avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

anjaliasha123

phylodiver-viz's Issues

Finalize JSON format

Need to do this in a meeting - basically review Chuanyi's version and make final revisions.

When done, it will trigger some new issues:

  1. Chuanyi's JSON schema to this repo
  2. Final example JSON blob of AML data that conforms to the schema
  3. Viz code needs to work off the format
  4. Viz needs a mechanism to load a new JSON blob in the format

Import prebuilt Viz into this repo

As a starting point, create a dir builds/prebuilt_02 that contains the built viz at phylodiver.org (at the time of the conference paper submission)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.