This page is meant to include instructions on how to clone dcamp, and push back to the repository. It is not well tested.
Standardized TACC DCAMP instructions.
This section describes a standardized way to install DCAMP onto TACC, it should be taken as a single solution among many, and modified by experienced users as they wish.
Cloning DCAMP for the first time:
- cd $WORK
- mkdir src
- Directory may already exist
- cd src
- git clone https://github.com/barricklab/dcamp.git
Updating to repository version of DCAMP
This assumes DCAMP has already been closed and will only work if this is true.
- cd $WORK/src/DCAMP
- git pull
This will update all files which have changed if there are any that need changing.
Pushing changes to DCAMP repository
This section assumes you have the permissions to push to DCAMP repository. If you don't and believe you should, speak to Jeff.
- cd $WORK/src/DCAMP
- git pull
- always make sure you are working with most recent version of DCAMP before trying to add new changes to avoid branching and conflicts
- If adding new directories to DCAMP
- git add *
- if adding new files to existing directories
- cd <Directory with new files>
- git add *
- If adding specific files or directories
- git add <files>
- git add <path/to/add>
- git commit -m "Your text here"
- This will put all files 'added' in the previous steps, and your commit message will be viewable on the web describing what changes you've made (examples include added new set of gd files related to X, or upated specific set of gd files with this information or for this reason)
- git push
- Actually sends changes made back to DCAMP repository online for others to download.
-- Main.DanielDeatherage - 30 Mar 2016
Topic revision: r3 - 2017-06-12 - 18:36:50 - Main.DanielDeatherage