Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open configuration.sh file in your favorite text editor such as nano.

Tip

Have a look at Cytomine configuration reference to configure your instance.


Code Block
languagebash
linenumberstrue
cd Cytomine-bootstrap
nano configuration.sh

...

Code Block
languagebash
linenumberstrue
127.0.0.1	localhost-core
127.0.0.1	localhost-ims
127.0.0.1	localhost-iris
upload

# if you enabled IRIS plugin
127.0.0.1	localhost-upload
iris 

# if you enabled RETRIEVAL plugin
127.0.0.1	localhost-retrieval

# if you enabled SOFTWARE plugin
127.0.0.1   rabbitmq

Then, flush your Mac's DNS cache, so it doesn't get confused by any changes you've made to the hosts file.

...

Code Block
languagebash
linenumberstrue
IMS_STORAGE_PATH=~/data/images
IMS_BUFFER_PATH=~/data/_buffer
FAST_DATA_PATH=~/data/images

# if you enabled SOFTWARE plugin
SOFTWARE_CODE_PATH=~/data/softwares/code
SOFTWARE_DOCKER_IMAGES_PATH=~/data/softwares/images
JOBS_PATH=~/data/jobs
SERVER_SSHKEYS_PATH=~/data/ssh

# if you enabled RETRIEVAL plugin
RETRIEVAL_PATH=~/data/thumb
FAST_DATA_PATH=~/data/images
BACKUP
# if you enabled BACKUP plugin
BACKUP_PATH=~/data/backup

Don't forget to create all these directories (mkdir) if they don't exist.

...

Code Block
languagebash
linenumberstrue
sudo bash start.sh
# OR, in old versions: sudo bash start_deploy.sh

Deployment can take some time, especially if it's the first time you install Cytomine on your host machine. All Docker container images have to be downloaded.

...