Prepare your project
Code in a git repository
Using git
is mandatory to deploy your code on the DSRI. Store your code in a git repository to keep track of changes, and make it easier to share and re-use your code outside of your computer.
We recommend those platforms depending on your use-case:
- GitHub for public repositories
- GitLab hosted at Maastricht University for private repositories
Any other git platform, such as BitBucket or gitlab.com, is fine too.
Get your data ready
If your project is using a large amount of data that cannot be pushed to a git repository, you will need to use a persistent storage to store your data on the DSRI. See the Storage on the DSRI documentation for more details about creating a persistent storage.
Here are the options to upload your data to the DSRI storage:
Data is on your local machine
If the data is stored on a local machine, such as your computer:
- Drag and drop files from your computer to the VisualStudio Code or JupyterLab web UI, if applicable.
- Otherwise, use the
oc cp
command to copy data to your application pod. See the Load data documentation page for more information.
Make sure you upload the data to a folder mounted on a persistent storage in the pod to avoid losing your data if the pod restarts.
Data is on a server
Same as for your laptop, you will need to install and use the oc cp
command to copy data to your application pod. See the Load data documentation page for more information.
Request access to internal UM servers
In certain cases, UM servers are not accessible by default from the DSRI. This is even the case for servers that are normally publicly accessible. To be able to access these UM servers from the DSRI, we need to put in the request to open the connection.
Please let us know either the servername and port you like to access, or the URL (e.g. um-vm0057.unimaas.nl on port 443 or https://gitlab.maastrichtuniversity.nl). You can reach out to us either by mail or by Slack.
The procedure is described in the diagram below: