How it works¶
If you want to create and deploy an app on deepchain hub, you could use the command provided in the deepchain-apps package. Below are the main commands that should be used in a terminal:
Basic cli¶
After installing deepchain-apps package, you will be able to use the CLI directly inside the terminal.
Put your personal access token (PAT) to deploy the application on deepchain.bio
deepchain login
Create an application based on an empty template.
deepchain create myapplication
This command will download the template hosting on github in the folder myapplication
Or download a pre-existing app. First list available apps.
>> deepchain apps --public
----------------------------------------------
APP USERNAME
----------------------------------------------
FullInfluenzaBinding k.eloff
OntologyPredict stj.grimbly
DiseaseRiskApp jb.sevestre
Download app command : deepchain download username/app app
Apps description at : https://app.deepchain.bio/hub/apps
Then download and modifies it.
deepchain download user.name/appname myapplication
After creating or downloading an app, you can build your own scorer function as explained here.
This section provide you some insights on how to use your app in DeepChain™.
Finally, you can deploy your application on deepchain. After validation, it will be available on the deepchain public hub
deepchain deploy myapplication