Skip to main content

Uploading Projects

There are two ways to get projects into MDV; via the Project Home screen or from the command line.

Project Home Screen

If you have created a project (see creating projects) and it is zipped e.g. my_project.zip then you can use the project upload button.

import project

As an example, download the project zip file pbmc3k project and click on the Import an existing project as shown above to upload it to MDV.

Copying a Project from Host to Container

If you have access to the container from a terminal you can copy across projects into it. This is convenient if the projects are large (and so may not be possible using the web user interface) or you want to copy across a number of projects. To copy across the projects, do the following:

Copy the project into the container

Make sure the MDV project folder contains the correct files (not zipped).

Open a terminal on the host machine and list running containers:

docker ps

Then based on the output enter:

sudo docker cp <host_project_path> <container_id>:/app/mdv/

Set correct ownership inside the container

  • Identify the container ID of mdvapp (do not use the db container). MDV uses the user pn from the base image with UID 1000 and GID 1000 so we need to change the permissions using the following command:
docker exec -u 0 -it <mdvapp_container_id> chown -R 1000:1000 /app/mdv/<project_name>

c. Rescan projects via MDV portal

Open in your browser:

http://localhost:5055/rescan_projects

Notes

  • On Windows, run all commands inside the WSL Ubuntu terminal (wsl -d Ubuntu).

Troubleshooting

If /rescan_projects does not work, restart the container:

docker restart <container_id>