# Install Community Edition 2023.1
TIP
If you experiment any issue, please describe your problem precisely in our ticket system on Github. (opens new window)
WARNING
- This version opens a new way to manage data within Cytomine. It is recommended for new projects starting from scratch, but not to upgrade projects already using any Cytomine Community Edition Legacy (version 2 or 3). Please contact us if you have such needs (opens new window).
- Community Edition 2023.1 do not include any AI engine for the moment. This will be added in next release. So if you need to run AI within your Cytomine, please consider to install the last release of Cytomine Community Edition Legacy.
# Install a Cytomine local instance
This installation procedure is for desktop or laptop computers running a Debian based Linux operating systems.
You must have installed Docker engine (opens new window) and git, and have root
permissions (sudo in Debian/Ubuntu).
- Clone the repository on your computer:
git clone --branch CE2023.1 https://github.com/Cytomine-ULiege/Cytomine-community-edition.git
- Go into the cloned folder:
cd Cytomine-community-edition
- Edit the file
cytomine.template
if you want to change default values (like URLs and/or SMTP setup) - Launch the Cytomine installer. This will create all the folders and files necessary to launch Cytomine with Compose:
sudo docker pull cytomine/installer
sudo docker run -v $(pwd):/install --user "$(id -u):$(id -g)" --rm -it cytomine/installer:latest deploy -s /install
2
- Launch cytomine:
sudo docker compose up -d
⚠️ As a side effect, this last command will write in your local
/etc/hosts
file.
- Use Cytomine : If you have kept the default values your Cytomine is now available on
http://cytomine.local
. By default, an admin account has been created for you. To connect to the platform in your browser, retrieve the randomly generated admin password by opening yourcytomine.yml
file and go toservices: default: core : constant: ADMIN_PASSWORD:
. You can use this password with theadmin
username to get authenticated on your Cytomine. Once authenticated, update this admin password to a more personal one.
# Install a Cytomine distant instance
This installation procedure is for servers running a Debian based Linux operating systems.
You must have installed Docker engine (opens new window) and git, and have root
permissions (sudo in Debian/Ubuntu).
You also need to have set 3 URLs in your Domain Name Server. In this example it will be example.com, ims.example.com and upload.example.com.
- Clone the repository on your server:
git clone https://github.com/Cytomine-ULiege/Cytomine-community-edition.git
- Go into the cloned folder:
cd Cytomine-community-edition
- Switch to the server instance deployment branch:
git switch ce-server-install
- Edit the file
cytomine.template
if you want to change default values (like URLs and/or SMTP setup) - Edit the file
configs/nginx/etc/nginx/nginx.conf.sample
with the correct information if you want SSL encryption directly in your Cytomine - Launch the installer. This will create all the folders and files necessary to launch Cytomine with Compose:
sudo docker pull cytomine/installer
sudo docker run -v $(pwd):/install --user "$(id -u):$(id -g)" --rm -it cytomine/installer:latest deploy -s /install
2
- Launch cytomine:
sudo docker compose up -d
- Use Cytomine : You can now discover Cytomine by browsing the URL you chose for
CORE
URL. By default, an admin account has been created for you. To connect to the platform in your browser, retrieve the randomly generated admin password by opening yourcytomine.yml
file and go toservices: default: core : constant: ADMIN_PASSWORD:
. You can use this password with theadmin
username to get authenticated on your Cytomine. Once authenticated, update this admin password to a more personal one. If you want to find this password using command line you can use :
cat cytomine.yml | grep ADMIN_PASSWORD:
# Update configuration
If you want to change the configuration of a running instance :
- Update your configuration in the
cytomine.template
file. - Relaunch the Cytomine installer to update your configuration file :
sudo docker pull cytomine/installer
sudo docker run -v $(pwd):/install --user "$(id -u):$(id -g)" --rm -it cytomine/installer:latest deploy -s /install
2
- Restart your running instance :
sudo docker compose restart
# Stop Cytomine
To stop your Cytomine instance, use :
sudo docker compose down
The server is stopped but data (databases and images) are preserved.
← Architecture Upgrade →