# GSE Computer Setup

These are instructions for configuring a computer for use as a DraMS GSE Workstation.

NOTE: NASA needs to install Windows and configure a user named "dramsops" first!


1. Install [Git](https://git-scm.com)
1. Install [SVN](https://tortoisesvn.net)
1. Install [Python](https://www.python.org)
1. Install [7zip](https://www.7-zip.org/)
1. Install [LibreOffice](https://www.libreoffice.org/)
1. Install [Opal Kelly FrontPanel USB driver](https://www.gseos.com/DownloadDFLY.html)
1. Install [TeraTerm](https://teratermproject.github.io/index-en.html)
1. Install [Star-Dundee Star-System](https://www.star-dundee.com)
1. Install [XINA Connect](https://wiki.xina.io/books/utilities/page/xina-connect)
1. Copy the MEB PS application files to C:/ (The _DATA and _Dev directories from the GSE Setup Folder)
1. Copy the XINA key to C:/Users/dramsops
1. Copy the SSH keys to C:/Users/dramsops/.ssh
2. Copy the .699config.INI to C:/Users/dramsops
1. Configure DRAMSIOC access
1. Clone the SVN dramsdata repo
 - Run the DRAMSIOC tunnel in a CMD window ('ssh dramsioc')
 - From Windows Explorer, navigate to C:/Users/dramsops
 - Right-click and select "SVN Checkout..." (you may need to select "Show more options" on the context menu)
 - Checkout the repo svn://localhost:6994/dramsdata
16. Clone the DraMS Git repositories
- Open Git Bash
- cd /c/Users/dramsops
- git clone git@sed-gitlab.gsfc.nasa.gov:drams/dramsgse.git
- git clone git@sed-gitlab.gsfc.nasa.gov:drams/drams_distribution.git
- git clone git@sed-gitlab.gsfc.nasa.gov:drams/gseos.git
- Add Quick Access links for the Git/SVN repos

17. Enable Remote Desktop: Settings -> Remote Desktop -> Flip On Switch

### XINA Tunnel/Import laptop

The XINA Tunnel/Import laptop is used for importing data into XINA. It's a NASA managed machine on the SLE network with a firewall rule allowing it to access the DraMS XINA instance via the XINA Tunnel.

The XINA Tunnel and XINA Import apps are both being run using the CLI apps. Batch scripts used to run both are located in the `C:/Users/gsfcdragonfly/` directory. Each batch script should be executed in its own terminal window:

```
.\xina-drams-tunnel.bat
```

```
.\xina-drams-import.bat
```