Coder Social home page Coder Social logo

pmzuk / pegasushub.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pegasushub/pegasushub.github.io

0.0 0.0 0.0 1.69 MB

PegasusHub: A Community-enabled Workflows Repository for Pegasus

Home Page: http://pegasushub.github.io

License: Apache License 2.0

JavaScript 0.94% Ruby 0.02% Python 0.84% HTML 1.19% SCSS 97.01%

pegasushub.github.io's Introduction

PegasusHub

A Community-enabled Workflows Repository for Pegasus

Adding your own workflow repository

In order to add your own Pegasus-enabled workflow repository, you only need to add your organization and repository names to the _data/workflows.yml file as follows:

- organization: my-github-organization
  repo_name: my-workflow-repository
  highlight: true
  priority: 2

The property highlight specifies wether the workflow is to be featured on the homepage. If highlight is set to true, the workflow must be given a priority number between 1 to 5 (5 being the most important and to be featured on top).

The Hub only pulls in information from the master branch of a workflows repository. More details about how to add more information describing your repository by specifying a .pegasushub.yml can be found at here.

The preferred way to submit your changes is via creating a pull request with the changes.

Starting your local instance of the Workflows Repository

The repository gets deployed automatically at https://pegasushub.io every 2 hours.

The website is a Ruby Jekyll site and you can run an instance of it locally on your desktop by doing the following

Generate the html pages

Before running the script, you need to set specify GitHub access token that allows the process.py script to retrieve information from the various GitHub repositories. This is done by setting the environment variable PEGASUSHUB_TOKEN

$ export PEGASUSHUB_TOKEN=xxxxxx
$./scripts/process.py 
404 Client Error: Not Found for url: https://raw.githubusercontent.com/pegasus-isi/sra-search-pegasus-workflow/master/.pegasushub.yml
404 Client Error: Not Found for url: https://raw.githubusercontent.com/pegasus-isi/freesurfer-osg-workflow/master/.pegasushub.yml
404 Client Error: Not Found for url: https://raw.githubusercontent.com/pegasus-isi/mask-detection-workflow/master/.pegasushub.yml
404 Client Error: Not Found for url: https://raw.githubusercontent.com/pegasus-isi/molecular-transformer-workflow/master/.pegasushub.yml

The workflow html pages get generated in the _workflows directory and the _logs directory will have logs from the process script

Start the Jekyll Server

$ bundle exec jekyll serve --incremental
Configuration file: /Volumes/lfs1/devel/Pegasus/git/pegasushub.github.io/_config.yml
            Source: /Volumes/lfs1/devel/Pegasus/git/pegasushub.github.io
       Destination: /Volumes/lfs1/devel/Pegasus/git/pegasushub.github.io/_site
 Incremental build: enabled
      Generating... 
       Jekyll Feed: Generating feed for posts
                    done in 0.58 seconds.
 Auto-regeneration: enabled for '/Volumes/lfs1/devel/Pegasus/git/pegasushub.github.io'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.

pegasushub.github.io's People

Contributors

rafaelfsilva avatar aditi1208 avatar mayani avatar papajim avatar vahi avatar aparna0522 avatar rynge avatar vedularaghu avatar shobana7 avatar zaiyan-alam avatar mslovett21 avatar

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.