Update home authored by Allen, Bruce (CIV)'s avatar Allen, Bruce (CIV)
...@@ -41,26 +41,25 @@ Install Gryphon and the Trace Generator by running the installer. Download the ...@@ -41,26 +41,25 @@ Install Gryphon and the Trace Generator by running the installer. Download the
### Special provisions ### Special provisions
#### Centos 7 #### Centos 7
Configure a Python 3 environment in a shell by typing the following: If you happen to be running Centos 7 in a virtual environment and the network does not connect, add this to `/etc/sysconfig/network-scrpts/ifcfg-enp0s3` and then reboot:
```bash DNS1=8.8.8.8
scl enable rh-python36 bash # sets up the environment for Python 3.6 DNS2=8.8.4.4
mkdir ~/python_project # folder for virtual environment for this Python configuration ONBOOT=yes
python -m venv python_project_venv # Enters a virtual environment for this Python configuration
source ~/python_project/python_project_venv/bin/activate 1. Download and run the MP installer for Centos 7 as described above. The installer for Centos 7 additionally installs and sets up a Python environment for running Gryphon.
pip install --upgrade pip
pip install pyqt5 1. Enable the Gryphon Python environment by typing the following in a shell before starting Gryphon:
```
Now that the Python3 environment is configured, open this environment in a shell before starting Gryphon: ```bash
```bash source /opt/rh/rh-python36/enable
scl enable rh-python36 bash
source ~/python_project/python_project_venv/bin/activate source ~/python_project/python_project_venv/bin/activate
``` ```
Then run Gryphon: 1. Then run Gryphon:
``` ```
cd ~/mp_gryphon/gryphon/python cd ~/mp_gryphon/gryphon/python
./mp.py ./mp.py
``` ```
## Installing components individually ## Installing components individually
If an installer is not available for your system, you can install Gryphon by hand using the following steps: If an installer is not available for your system, you can install Gryphon by hand using the following steps:
... ...
......