Deployment Instructions

Continuous Integration

Continuous delivery is a software development practice where code changes are automatically prepared for a release to production. A pillar of modern application development, continuous delivery expands upon continuous integration by deploying all code changes to a testing environment and/or a production environment after the build stage. When properly implemented, developers will always have a deployment-ready build artifact that has passed through a standardized test process.

Continuous delivery lets developers automate testing beyond just unit tests so they can verify application updates across multiple dimensions before deploying to customers. These tests may include UI testing, load testing, integration testing, API reliability testing, etc. This helps developers more thoroughly validate updates and pre-emptively discover issues. With the cloud, it is easy and cost-effective to automate the creation and replication of multiple environments for testing, which was previously difficult to do on-premises.

Deployment Process Flow

../_images/deployment_pipeline.svg

Deployment Instructions

  1. Log into your VM and create the Folder Structure

  2. Change to the directory

    cd instruments_db/deployment
    
  3. Login into the registry

    docker login jugit-registry.fz-juelich.de
    
  4. Pull the images from the registry and run the container in detach mode:

    docker-compose pull
    
  5. Run the docker system in detach mode

    docker-compose up -d
    
  6. Stop and remove the container

    docker-compose down