From 884d2a3e601e83315ed138ea88a64a833144548b Mon Sep 17 00:00:00 2001 From: bridgetdisney Date: Wed, 31 Jul 2019 10:11:03 -0500 Subject: [PATCH 1/6] 2019 Updated Readme Created the summer of 2019 by Bridget Disney and Hanlin Zhang under the direction of John Kunze. --- doc/2019 Updated README | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/2019 Updated README diff --git a/doc/2019 Updated README b/doc/2019 Updated README new file mode 100644 index 0000000..51dab1b --- /dev/null +++ b/doc/2019 Updated README @@ -0,0 +1,2 @@ +# 2019 Updated README +## Will include local installation and AmazonAWS From 37ac15b6b4abe424595c9fff1779e7fcbeb2e16f Mon Sep 17 00:00:00 2001 From: bridgetdisney Date: Mon, 5 Aug 2019 11:09:36 -0500 Subject: [PATCH 2/6] Update 2019 Updated README Adding information to this file --- doc/2019 Updated README | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/2019 Updated README b/doc/2019 Updated README index 51dab1b..34bff8a 100644 --- a/doc/2019 Updated README +++ b/doc/2019 Updated README @@ -1,2 +1,11 @@ # 2019 Updated README ## Will include local installation and AmazonAWS + +## Amazon AWS +1. Connect to server +The AWS server restricts access to certain IP addresses. If you can identify the IP addresses used by your university VPN, +John Kunze can have them added so that you can ssh into the server. + +On your own VPN, in your terminal session, enter the following command: + +$ ssh yamz@ids-yamz2-dev.yamz.net From b30bdabdd0af90c4ff21b50c8043f25fec489903 Mon Sep 17 00:00:00 2001 From: bridgetdisney Date: Mon, 5 Aug 2019 11:12:11 -0500 Subject: [PATCH 3/6] Update 2019 Updated README Added another line item (2) --- doc/2019 Updated README | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/2019 Updated README b/doc/2019 Updated README index 34bff8a..fb12d20 100644 --- a/doc/2019 Updated README +++ b/doc/2019 Updated README @@ -9,3 +9,5 @@ John Kunze can have them added so that you can ssh into the server. On your own VPN, in your terminal session, enter the following command: $ ssh yamz@ids-yamz2-dev.yamz.net + +2. Change directory and set virtual environment From 84b5d2027fd5e626c2b5859bfd0baa4f4d5d9383 Mon Sep 17 00:00:00 2001 From: bridgetdisney Date: Tue, 20 Aug 2019 15:30:13 -0500 Subject: [PATCH 4/6] Update 2019 Updated README --- doc/2019 Updated README | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/doc/2019 Updated README b/doc/2019 Updated README index fb12d20..62a5caa 100644 --- a/doc/2019 Updated README +++ b/doc/2019 Updated README @@ -1,7 +1,8 @@ # 2019 Updated README ## Will include local installation and AmazonAWS -## Amazon AWS +## Running YAMZ on the Amazon AWS Server + 1. Connect to server The AWS server restricts access to certain IP addresses. If you can identify the IP addresses used by your university VPN, John Kunze can have them added so that you can ssh into the server. @@ -10,4 +11,31 @@ On your own VPN, in your terminal session, enter the following command: $ ssh yamz@ids-yamz2-dev.yamz.net -2. Change directory and set virtual environment +2. Create directory (first time only) + +The first time, you'll want to create your own personal directory so that you can make changes that don't effect the +original files which are in /apps/yamz/yamz. + +Your directory will be something like /apps/yamz/. You can then copy /apps/yamz/yamz to /apps/yamz/ + +[not sure if you should populate your directory by using the GitHub clone or just copying the files over] +cp -avr /apps/yamz/yamz /apps/yamz/ + +3. Change directory and set up virtual environment + +cd /apps/yamz/ +source ./venv/bin/activate + +4. Set the environment variable DATABASE_URL + +$ export DATABASE_URL=postgresql://rds-ids-yamz-dev.cmcguhglinoa.us-west-2.rds.amazonaws.com + +5. Start YAMZ + + $ ./ice.py --role=contributor --config=.seaice & + +6. View YAMZ in your web browser + + http://http://ids-yamz2-dev.yamz.net + + From 8f36bcb31a75802c8eee074fb9ce7a76acadf95b Mon Sep 17 00:00:00 2001 From: bridgetdisney Date: Tue, 20 Aug 2019 15:35:00 -0500 Subject: [PATCH 5/6] Update 2019 Updated README --- doc/2019 Updated README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/2019 Updated README b/doc/2019 Updated README index 62a5caa..b51acbc 100644 --- a/doc/2019 Updated README +++ b/doc/2019 Updated README @@ -38,4 +38,8 @@ $ export DATABASE_URL=postgresql://rds-ids-yamz-dev.cmcguhglinoa.us-west-2.rds.a http://http://ids-yamz2-dev.yamz.net +## PostGreSQL Notes +## Amazon AWS First Time Setup + +## Local Setup From b564e2568d6ac11f6dd3d44cb4ef113f47c74510 Mon Sep 17 00:00:00 2001 From: bridgetdisney Date: Tue, 20 Aug 2019 15:35:49 -0500 Subject: [PATCH 6/6] Update 2019 Updated README --- doc/2019 Updated README | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/2019 Updated README b/doc/2019 Updated README index b51acbc..545aca7 100644 --- a/doc/2019 Updated README +++ b/doc/2019 Updated README @@ -43,3 +43,5 @@ $ export DATABASE_URL=postgresql://rds-ids-yamz-dev.cmcguhglinoa.us-west-2.rds.a ## Amazon AWS First Time Setup ## Local Setup + +## UNIX Tips and Tricks