Skip to content
Snippets Groups Projects
README.md 936 B
Newer Older
# 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.