Skip to content

Docker image runs cs-studio with D-TACQ preferences

Notifications You must be signed in to change notification settings

D-TACQ/ACQ400CSS_docker

 
 

Repository files navigation

ACQ400CSS + docker + cs-studio

This repo creates a docker ubuntu image and installs cs-studio into it

Workspaces are stored in the workspaces dir

A single script "./cs-studio_docker.sh" creates the cs-studio instance and per-uut workspace.

How to install

Linux

  1. First install docker: Supported platforms

    Install through distro package manager do not use snap

  2. Clone this repo:

    git clone https://github.com/D-TACQ/ACQ400CSS_docker
    cd ACQ400CSS_docker
    
  3. Run cs-studio

    with hostname
    ./cs-studio_docker.sh acq2106_123
    
    with hostname and static ip 
    ./cs-studio_docker.sh acq2106_123 10.12.1.123
    
    diy setup
    ./cs-studio_docker.sh
    

    First time setup might take a while.

  4. BONUS Install on path

    #create link
    sudo ln -s $(pwd)/cs-studio_docker.sh /usr/local/bin/cs-studio
    
    #run from anywhere
    cs-studio acq2106_123
    

Windows

  1. Install docker desktop: Docker Desktop

  2. Install git: Git for windows

  3. Install VcXsrv: VcXsrv

  4. Open powershell or cmd

  5. Clone this repo:

    git clone https://github.com/sambelltacq/ACQ400CSS_docker
    cd ACQ400CSS_docker
    
  6. Run cs-studio

    with hostname
    ./cs-studio_docker.cmd acq2106_123
    
    with hostname and static ip 
    ./cs-studio_docker.cmd acq2106_123 10.12.1.123
    
    diy setup
    ./cs-studio_docker.cmd
    

    First time setup might take a while

  7. BONUS Create Shortcuts

    • Right click cs-studio_docker.cmd and click create shortcut

    • Right Click created shortcut and click properties

    • Append UUT hostname and if needed IP to end of target path and click OK i.e. C:\Users\sam\PROJECTS\ACQ400CSS_docker\cs-studio_docker.cmd acq2106_123

    • Rename shortcut to something descriptive i.e. start_css_acq2106_123

    • Repeat for each UUT as needed

Problems

About

Docker image runs cs-studio with D-TACQ preferences

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 51.0%
  • Dockerfile 24.8%
  • Batchfile 24.2%