Code & Executables
Add component • Code • Workspace
Last updated
Add component • Code • Workspace
Last updated
DeSci Nodes supports rich code and analysis script-sharing for enhanced reproducibility. You can publish a code repository (or file) as its own Research Node or add code components to an existing one to enrich your publication.
Read more about why sharing code is so important.
You can add code through these basic upload methods:
to your code repository (e.g. GitHub)
for code files
for code files
Upcoming: Create & Edit Code Files
More information on URL imports as related to code repositories is found below.
Open the Node Drive in your Node Workspace for the Node you want to add the Code Repository to. Paste the URL to your GitHub repo in the URL line when the Drive is showing the upload panel. DeSci Nodes will automatically pull in the full repository for you, including file and folder structures.
Be aware that adding code repositories via GitHub URL will always add the entire repository to your Node. So make sure that everything in the repo can be shared openly.
We currently do not support the upload of individual folders within a repository or similar.
Step-by-step instructions:
You can import your online GitHub code repository by providing its URL in the URL bar of the Node Drive Panel in the Node you want to add the code repository to.
Open the Node Drive Panel, and hit the '+' button.
Select 'Upload' from the dropdown menu.
In the Upload section that opens, paste the code repository URL in the 'Paste Link' bar near the bottom.
Your repository will be added instantly, creating a folder named after the uploaded repository, containing all the files from the online repository.
In case you made a mistake, here's how to delete a component. Do note that only unpublished components will be removed from the online environment when deleted.