nf-neuro
comes preloaded with a set of development containers destined at streamlining
your development. They provide pre-installed
environments for you to start programming
new pipelines
or nf-neuro components
.
- VS Code ≥ 1.95
- Docker ≥ 24 (we recommend using Docker Desktop)
The simplest way of installing everything Docker is to use Docker Desktop. You can also go the engine way and install Docker manually.
Once installed, you need to configure some access rights to the Docker daemon. The easiest way to do this is to add your user to the docker
group. This can be done with the following command :
sudo groupadd docker
sudo usermod -aG docker $USER
After running this command, you need to log out and log back in to apply the changes.
Warning
The prototyping
environment definition is not meant to be run from the nf-neuro
repository root.
Locate your project elsewhere (we recommend putting it outside this directory to prevent
conflicts with git
).
Copy the devcontainer definition located in .devcontainer/prototyping
inside a .devcontainer
directory inside your project. Then, open your project with VS CODE and click on the blue box in the
lower left corner, to get a prompt to Reopen in container
. The procedure will start a docker build, wait
for a few minutes and enjoy your fully configured development environment.
nf-core
accessible through the terminal, which is configured to accessnf-neuro
modules and subworkflowsgit
,github-cli
curl
,wget
,apt-get
nextflow
,docker
,tmux
- Docker images and containers management
- Nextflow execution environemnt
- Python and C++ linting, building and debugging tools
- Github Pull Requests management
- Github flavored markdown previewing
- Neuroimaging data viewer
- Test Data introspection
- Resource monitoring
- Remote development
- Live sharing with collaborators
SECTION TO COME
To use the development environment, you need to have the repository cloned. You can do it using
VS Code. Once opened in VS CODE, click on the arrow box in the lower left corner, to get a prompt to
Reopen in container
. Select the devops
container. The procedure will start a docker build, wait for a
few minutes and enjoy your fully configured development environment.
nf-neuro
,nf-core
all accessible through the terminal, which is configured to load thepoetry
environment in shells automaticallynf-neuro
configured as the main repository for allnf-core
commands, usingNFCORE_-
environment variablesgit
,github-cli
curl
,wget
,apt-get
nextflow
,nf-test
,docker
,tmux
- Docker images and containers management
- Nextflow execution environemnt
- Python and C++ linting, building and debugging tools
- Github Pull Requests management
- Github flavored markdown previewing
- Neuroimaging data viewer
- Test Data introspection
- Resource monitoring
- Remote development
- Live sharing with collaborators