Update Installing MP Gryphon authored by Allen, Bruce (CIV)'s avatar Allen, Bruce (CIV)
......@@ -6,7 +6,7 @@ The MP Gryphon toolset consists of the following:
* **Preloaded examples** - Contains examples and snippets of MP code.
# Compatibility
Gryphon is compatible with Mac, Windows, and Ubuntu Linux. For Mac and Windows, trace generation is performed on a remote server. For Linux, trace generation is performed locally.
Gryphon is compatible with Mac, Windows, and Ubuntu Linux. For Mac and Windows, trace generation is performed on a remote server inside the NPS VPN. These users must have a VPN connection to NPS. For Linux, trace generation is performed locally. Linux users do not need to be connected to NPS by VPN.
# Installing Gryphon
## Windows/Mac
......@@ -15,8 +15,12 @@ Gryphon is compatible with Mac, Windows, and Ubuntu Linux. For Mac and Windows,
python --version
and observing version information being printed back.
1. Download and unzip Gryphon from https://gitlab.nps.edu/monterey-phoenix/user-interfaces/gryphon/ by browsing to this page, clicking the download icon near the upper right: ![download](uploads/509a7e72dfa75dded2c31b3cb70d0fdc/download.png) and downloading the zip content. When downloaded, unzip it to a folder and note the path.
1. Download and unzip the preloaded examples from https://gitlab.nps.edu/monterey-phoenix/mp-model-collection/preloaded-examples by browsing to this page, clicking the download icon near the upper right: ![download](uploads/509a7e72dfa75dded2c31b3cb70d0fdc/download.png) and downloading the zip content. When downloaded, unzip it to a folder adjacent to the Gryphon folder.
1. Download the compressed zip of the Gryphon tool by browsing to https://gitlab.nps.edu/monterey-phoenix/user-interfaces/gryphon/ and clicking the download icon near the upper right: ![download](uploads/509a7e72dfa75dded2c31b3cb70d0fdc/download.png).
1. Unzip the compressed zip package to a folder and note the path to it.
1. Download the compressed zip of the preloaded examples by browsing to https://gitlab.nps.edu/monterey-phoenix/mp-model-collection/preloaded-examples and clicking the download icon near the upper right: ![download](uploads/509a7e72dfa75dded2c31b3cb70d0fdc/download.png).
1. Unzip the compressed zip package to a folder and note the path to it.
1. Create a new folder in your home directory and name it `mp_gryphon`.
1. Move the `gryphon` folder and the `preloaded-examples` folders into the `mp_gryphon` folder.
1. Install requisite packages. In a command window type:
pip install --upgrade pip
......@@ -25,13 +29,6 @@ Gryphon is compatible with Mac, Windows, and Ubuntu Linux. For Mac and Windows,
if `pip` doesn't work, try `pip3`.
To run Gryphon from Windows: change to the directory containing the Gryphon tool and run it there. For example if Gryphon extracted in Downloads then type:
chdir Downloads\Gryphon\python
python mp.py
To run Gryphon on Mac: Same as above, but use forward slashes instead of back slashes.
## Ubuntu Linux
Download the installer from https://gitlab.nps.edu/monterey-phoenix/user-interfaces/gryphon/-/blob/master/install_mp.bash, make it executable, then run it:
......@@ -39,7 +36,17 @@ Download the installer from https://gitlab.nps.edu/monterey-phoenix/user-interfa
chmod +x install_mp.bash
./install_mp.bash ubuntu
To run Gryphon from Ubuntu, type:
# Running Gryphon
Run Gryphon from a command window. Open a command window and type commands to navigate to the folder containing the Gryphon tool and to run it:
## Windows
Move to the Gryphon\python folder and then run Gryphon:
chdir mp_gryphon\gryphon\python
python mp.py
## Mac/Ubuntu Linux
Move to the Gryphon/python folder and then run Gryphon:
cd ~/mp_gryphon/gryphon/python
./mp.py
cd ~/mp_gryphon/Gryphon/python
./ mp.py