ICS Software Development Environment Blaž Zupanc and Leandro Fernandez 10 March 2016
Agenda Introduction to the ICS Development Environment – Leandro Demo – Blaz 2
Why?
Why we need a development environment 4 How can I develop EPICS? Where do I get the ESS version of CS- Studio? Where are the EPICS modules that I need? How can I run scripts for the control system? Can I use any Linux distribution? What should we give to in-kind partners to develop EPICS?
We provide the official ICS environment where any user can find the tools to develop software for the ESS Controls Systems. An environment easy to use and flexible enough to work on different conditions 5 Our goal “ “ Blaz and Leandro – 31 st August Lund, Sweden.
How?
We pack the software for you 7
And we also deliver it for you 8 We have set up a deployment and delivery infrastructure easy to use by the end user We support virtual and bare metal installations
What do we provide?
@ESS 10 NFS EPICS (EEE) Server EPICS base EPICS modules IOCs ELDK Development Environment CS-Studio OpenXAL EPICS development tools IPython Notebook LDAP NFS
@In-kind facility 11 NFS EPICS (EEE) Server EPICS modules IOCs EPICS (EEE) Server
Concepts
13 We use Ansible to automate the deployment and configuration of all our software infrastructure. Installation and configuration is written in playbooks and version controlled.
14 Vagrant is a tool to deliver development environments in the form of virtual machines. We use Vagrant as a layer on top of VirtualBox. Using Vagrant commands we you will be able to: Start, stop, resume and destroy a VM (vagrant up) Update the software installed in the VM (vagrant provision)
Disposable DevEnv
Don’t get attached to it 16
Use shared folders 17
How to install
19 Full description on Confluence: vagrant up
How to update
21 Full description on Confluence: vagrant provision
How to destroy
23 vagrant destroy
Demo
25 Development Environment Wiki Development Environment Wiki page Overview and orientation DEMO: Setting up a virtual Development Machine at ESS
Questions