Skip to content

A very simple submit plugin that returns sbol files with submit information

License

Notifications You must be signed in to change notification settings

SynBioHub/Plugin-Submit-Test

Repository files navigation

Plugin-Submit-Test

A very simple submit plugin that returns sbol files with submit information

Install

Docker

Run docker run --publish 8087:5000 --detach --name submit-plug synbiohub/plugin-submit-test:snapshot Check it is up using http://localhost:8087/status.

Using Python

Run pip install -r requirements.txt to install the requirements. Then run FLASK_APP=app python -m flask run. A flask module will run at http://localhost:5000/.

Testing

To create a test manifest use this script. For testing the getting of files a test server can be created using docker or the flask implementation in this repository.

Example manifest:

{"manifest": {"files":[
  {"url": "file_url0", "filename": "file_name0", "type": "file_type0"},
  {"url": "file_url1", "filename": "file_name1", "type": "file_type1"},
  {"url": "file_url2", "filename": "file_name2", "type": "file_type2"},
  {"url": "file_url3", "filename": "file_name3", "type": "file_type3"},
  {"url": "file_url4", "filename": "file_name4", "type": "file_type4"},
  {"url": "file_url5", "filename": "file_name5", "type": "file_type5"},
  {"url": "file_url6", "filename": "file_name6", "type": "file_type6"}]}}

About

A very simple submit plugin that returns sbol files with submit information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •