Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions doc/2019 Updated README
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# 2019 Updated README
## Will include local installation and AmazonAWS

## 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.

On your own VPN, in your terminal session, enter the following command:

$ ssh yamz@ids-yamz2-dev.yamz.net

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/<yourname>. You can then copy /apps/yamz/yamz to /apps/yamz/<yourname>

[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/<yourname>

3. Change directory and set up virtual environment

cd /apps/yamz/<yourdirectory>
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

## PostGreSQL Notes

## Amazon AWS First Time Setup

## Local Setup

## UNIX Tips and Tricks