Skip to content

Deploying MYR

Jason Kiesling edited this page May 30, 2019 · 1 revision

Parts of MYR are currently being hosted on a virtual machine in the UMass Lowell data center. Follow the below instructions to deploy updates.

Connecting to the Server

-Connect to the UML VPN or be connected to the on-campus network.
--Note: The student wireless is not on-campus. Only the VPN and certain wired connections can connect to the server via SSH.
-SSH into the MYR server. The production IP address is 10.91.77.39 and the hostname is cs-ecg-web-01. The development IP address is 10.91.77.40 and the hostname is cs-ecg-web-02.
--The best way to ssh is to use ssh [user]@cs-ecg-web-01 or ssh [user]@cs-ecg-web-02.
--If you do not currently have your own account, contact Jason for access.
-Switch users to the deployment user with su app.
--For security reasons, it is impossible login directly with this account.
--If you do not know the password to this account contact Jason.
-Follow the directions below.

Updating MYR, the Admin Portal, and the backend:

-Connect to the server using the above directions.
-Switch to the app account with su app.
-Run the command deploy.

Updating MYR:

-Connect to the server using the above directions.
-Switch to the app account with su app.
-Run the command deployfront.

Updating the MYR Admin Portal:

-Connect to the server using the above directions.
-Switch to the app account with su app.
-Run the command deployadmin.

Updating the MYR Backend:

-Connect to the server using the above directions.
-Switch to the app account with su app.
-Run the command deployback.

Deploy, deployfront, deployadmin, and deployback are defined in ~/.bash_aliases in the app account.