Skip to content

First Run

terrelsa13 edited this page Jul 2, 2024 · 17 revisions

Linux

  1. If MUMC has not been installed; first go to Linux Install and follow the steps.
  2. Open a terminal window using the following keyboard shortcut: ctrl+alt+t
  3. To run the script type the following command in the terminal window:
    python3 /opt/MUMC/mumc.py
    
  4. First time the script is run, it will walk through creating the mumc_config.yaml file.

Run MUMC automatically

Windows

  1. If MUMC has not been installed; first go to Windows Install and follow the steps.
  2. Open a terminal window by selecting the START button, typing in cmd, and pressing enter.
  3. To run the script type the following command in the terminal window:
    C:\Users\Zoomies\AppData\Local\Programs\Python\Python3x C:\Users\Zoomies\MUMC\mumc.py
    
    • Replace 'Zoomies' with your username
    • Replace 'Python3x' with the Python3 version installed (i.e. Python3.8 - Python3.12)
  4. First time the script is run, it will walk through creating the mumc_config.yaml file.

Run MUMC automatically

Docker

  1. If MUMC has not been installed; first go to Docker Install and follow the steps.

  2. Open a terminal window on the host machine (aka the machine with Docker and/or Portainer installed on it.)

  3. Type the following command into the terminal window:

    docker ps
  4. You should see one row with name of mumc (or whatever name you chose) under the "Names" column.

  5. Next we need to enter the container using its name and manually run the script.

    docker exec -it mumc python ./mumc.py -c /usr/src/app/config/mumc_config.yaml
  6. First time the script is run, it will walk through creating the mumc_config.yaml file.

  7. Once the configuration builder is completed MUMC will close the current terminal session.

    1. In the background MUMC will find mumc_config.yaml, run twice, and stop.
  8. Stop and delete the container the container with the command below:

    docker stop mumc
    docker rm mumc
  9. On the host machine; use your favorite text editor to finsih setting up the configuration file.

    1. Remember is it located here on the host machine: /opt/MUMC/config/mumc_config.yaml (unless you chose a different path and/or file name).

Run MUMC automatically

Clone this wiki locally