Skip to content

bio-tools/biotools-github-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biotools-github-editor

biotools-github-editor is a prototype interface to demonstrate the edition of a bio-tools description directly in a github repository, using a graphical web UI. Parts of the UI code have been reused from the current public version of the bio.tools registry repository (see https://github.com/bio-tools/biotoolsRegistry)

For more information about the GitHub API used in this code, see https://developer.github.com/v3/

Motivation

  • Enable the maintenance of bio.tools tool description directly from the source
  • Provide an editing interface to facilitate the creation and update of an entry

Architecture

The user interface code reuses the 'frontend' part code of biotoolsRegistry, with a few modifications to the following files:

  • js/controller.js
  • index.html
  • partials/toolEdit.html
  • package.json
  • gulpfile.js

Install

git clone https://github.com/bio-tools/biotools-github-editor.git

cd biotools-github-editor/frontend

npm install

Run

gulp browser-sync

=> http://localhost:3000

Build

gulp


Notice [temporary]

You will need a CORS manager to Allow-Control-Allow-Origin, otherwise the Github OAuth will no work with your local Parcel servor

Example for firefox: https://addons.mozilla.org/fr/firefox/addon/cors-everywhere/