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:

  1. cd $WORK
  2. mkdir src
    1. Directory may already exist
  3. cd src
  4. 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.

  1. cd $WORK/src/DCAMP
  2. 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.

  1. cd $WORK/src/DCAMP
  2. git pull
    1. always make sure you are working with most recent version of DCAMP before trying to add new changes to avoid branching and conflicts
  3. If adding new directories to DCAMP
    1. git add *
  4. if adding new files to existing directories
    1. cd <Directory with new files>
    2. git add *
  5. If adding specific files or directories
    1. git add <files>
    2. git add <path/to/add>
  6. git commit -m "Your text here"
    1. 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)
  7. git push
    1. Actually sends changes made back to DCAMP repository online for others to download.

-- Main.DanielDeatherage - 30 Mar 2016


This topic: Lab > WebLeftBar > ComputationList > ProtocolsGdGenerationl > ProtocolsDcampCloning
Topic revision: r3 - 12 Jun 2017 - 18:36:50 - Main.DanielDeatherage