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/
- 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
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
git clone https://github.com/bio-tools/biotools-github-editor.git
cd biotools-github-editor/frontend
npm install
gulp browser-sync
gulp
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/