Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Midas slow control for the MAGNET
## Update the submodules and code to the latest versions
```bash
./update.sh --up
```
## Run Instructions
To run the frontend inside the docker machine, use the following command:
```bash
./runMidas.sh
```
if you change any odb parameters i.e, edit the init.sh file, Then run without the cache:
```bash
./runMidas.sh -nc
```
Then, open a browser and go to the following address:
http://localhost:8082/
If everything is ok (After all the tests are successful), kill the docker instance, and rebuild the FE program (compile natively, no docker).
```bash
cd gsc
./rebuild.sh
```
Then the executable is up to date, restart from the GSC page
## Ports for local testing
You need to uncomment some of the lines in the docker-compose.yml file for enabling some ports to be used to check the FE web page locally.
For docker machines on linux, uncomment the host line in docker-compose.yml file.