Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

How to try Sardana using Docker

reszelaz edited this page Jul 16, 2019 · 1 revision

Motivation

People who do not know Tango Control System may find it difficult to start exploring the Sardana project. This guide will let them start the Sardana system, run in a Docker container, and start playing with it in less then 15 min!

Prerequisites

  • A host with an internet connection and Docker environment set up

Steps

This guide uses the sardana-test docker container. Read carefully the containers documentation cause it will be used during the rest of the steps.

Run Sardana container

From the above documentation it is recommended to choose the following configuration:

  1. Run the container with the GUI mode enabled.
  2. Install Sardana using pip from the develop branch (Sardana's develop branch is usually very stable).

Run Sardana servers

It is recommended to start the servers in separate docker exec sessions without the supervisor. Actually it would be even convenient to run them with --log-level=debug option, just in case you hit some problem then simple copy&paste the output and report an issue.

Start spock

Start another bash session inside of the container and start spock inside.

Continue

Simply continue reading the documentation (from the spock chapter forward) at the same time exploring the Sardana project within this docker environment. Enjoy!