This is an old revision of the document!
Steps for setting up slow control:
1. Installing docker on ubuntu: Open terminal in ubuntu and run the following commands.
$ curl -fsSL https://get.docker.com -o get-docker.sh $ sudo sh get-docker.sh
2. Setup a ubuntu container
$ docker run --it --network host --name slow_control ubuntu bin/bash
3. Access terminal inside the container
$ docker exec -it slow_control bin/bash
4. Install epics using the script on autoinstall page
5. install Node.js
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - $ sudo apt-get install -y nodejs
5. Install Node-RED
$ sudo npm install -g --unsafe-perm node-red
Now the basic set up is complete
6. create an account in docker-hub https://hub.docker.com/signup and create a repository named “slow_control” 7. Sign into docker using the same account
$ docker login
(you will be prompted form username and password).
8. Create an image of the container that has been created in the previous steps. <code> $ docker commit slow_control </code> (you will see a series of alpha-numeric characters after executing this command, this is called a 'tag') Assign a name to the image <code> $ docker <tag> slow_control:v1 </code> 9. Upload the image to repository that was created in step 6
$ docker push <username>/slow_control:v1
Now