-
Install Ubuntu 18.04 LTS (or latest build, or preferred terminal) If Ubuntu 18.04 LTS and on Windows, enable Windows Subsystem for Linux Control Panel >> Turn Windows Features On or Off >> Windows Subsystem for Linux
-
Create Unix username Must be lowercase, can contain underscores
-
Create passphrase
-
Re-enter passphrase
-
-
Generate an SSH Key
-
ssh-keygen -t rsa -C "[email protected]"
-
Enter to accept default location
-
Enter passphrase
-
Re-enter passphrase
-
-
Copy SSH Key to GitHub >> Profile >> Settings >> SSH and GPG Keys
-
New SSH Key
-
Enter name for key
-
In Ubuntu terminal, execute command: cat < ~/.ssh/id_rsa.pub
-
Copy output
-
Paste in SSH key
-
Add SSH key
-
-
Git clone XIA Repo
-
Navigate to desired file location for repository
-
git clone https://github.com/det-lab/xia.git
-
-
Create Environment from YML File
-
Install latest Anaconda build https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart
-
conda update --all
-
Create Environment https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#id2
-
Use envXIA.yml
-
-
Test if path is correct
-
Navigate to XIA Repo
-
Execute: py.test --nbval-lax
-
-
Save Credentials for Ease of git push
-
Execute following commands $ git config credential.helper store $ git push http://example.com/repo.git Username: <type your username> Password: <type your password>
-
For Devs Install Kaitai-Struct-Compiler https://kaitai.io/#download Install Java https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04