Installation
How to install NimbusImage
Last updated
How to install NimbusImage
Last updated
If you really want to install NimbusImage yourself, you can :). Before getting into the details of installation, it's important to understand the structure of NimbusImage. The front end and back end are two completely independent components. The web application lives on the front end, while all your data and analyses reside in the back end. You can mix and match almost any front end with any back end. For example, you could use nimbusimage.com for the front end and run the back end on your local laptop or vice versa. We here provide instructions for installing both, but again, the easiest option is to simply use the online version.
A good halfway point (if you must) is to use the front end provided by nimbusimage.com along with your own back end. That way, your data lives on your own computer, in case that is important to you.
The back end is a data management system called , which is developed by Kitware. You can install it fairly easily using Docker. Keep in mind that Docker on Mac is really slow for various reasons, so we strongly recommend using Linux. Also, some workers that require GPUs, like cellpose for cell segmentation, need a Linux system with a GPU.
To install the backend, first you need to install Docker.
Linux:
Install using the apt-repository. Follow . Then follow these .
If you want to use GPU workers, you will need to . Make sure your GPU driver is installed (probably need 535 or higher).
Then install the Nvidia .
Wasn't that easy? I hate Linux. Also, you will probably have to restart your computer at least once by now.
Mac:
Install using the .
Now install the backend using Docker:
Pull the NimbusImage repository:
Start docker images for the backend:
Go to a new directory (NOT the NimbusImage
directory) and run the following:
The machine learning workers will run on CPU on Linux if a GPU is not available, although will run much more slowly.
To install the frontend, you need to:
Pull the repository (if you haven't already done so for the backend):
Install node modules:
Compile C++ code to wasm:
If you are on Linux, you may need to run:
Copy in the models for Segment Anything (optional):
Now start up the server:
If you want to run the development build:
You should see output indicating the server is running, likely on http://localhost:5173
.
If you want to run for production:
You should see output indicating the server is running, likely on http://localhost:4173
.
Go to the relevant localhost URL (http://localhost:5173
for dev, http://localhost:4173
for prod) and you should see the website!
IMPORTANT: By default, an admin user will be created with the login admin
and the password password
. You can use these credentials to initially log into the system.
Navigate to your running NimbusImage frontend (e.g., http://localhost:5173
).
In the "Girder domain" field, enter the domain associated with your backend. If running locally, this will be http://localhost:8080
.
Enter the username (admin
) and password (password
).
For security, it is critical to add a new admin user in Girder and then remove the original admin
user. To do this, go to http://localhost:8080
, sign into Girder using the default credentials, then go to the Users
tab on the left to manage users.
You should now be able to see the backend at . You can login with login "admin" and password "password". We strongly recommend changing those defaults ASAP!
Install .
Install :