Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated the Stash part of the documentation; other minor changes/updates to the doc

...

Brand New ProjectExisting Project
  1. Login to stash: https://stash.uconn.edu/
  2. Navigate to FEB Nitro Files (FNF) project
  3. Provided you have the necessary privileges, click on the "Create repository" button, top-right
  4. Provide an appropriate name and then click on the "Create repository" button
  5. Clone repository to localUse

     Clone repository to local — this is your local repository

    Tip
    titleTip

    Establish clean directory structure for all your Leap apps; directory within this structure is where you will create a local repository 


    1.  Create a project directory for this Leap application
    2.  Use git/bash command:
      Make sure you are inside the project folder of where you want to clone and then execute the following command:
      git clone REPOSITORY_URL
  6. Open up Sourcetree software
  7. Add a new repository, by clicking on the "+" at the top:

    1. Click on Add at the top:
    2. Click on "Browse"
    3. Navigate to where you cloned locally (Step 25.a., above)
    4. And click on "Select Folder" ---- ensure that the folder you select has a .git folder (this is a hidden folder — so you might not see it, based on your settings), as shown below
    5. Finally, click "Add"
  8. Anchor
    Continue from here
    Continue from here
    Go to Leap TEST environment and export the project (if you have not done it already) and save it locally

    Info
    titleHeads-up!

    Unless you have been told otherwise: Make sure that the "Include submission data?" checkbox is not checked!


  9. Locate the *.nitro_s file that you downloaded from Leap TEST environment and move it to this folder the directory of your project's local repository (same folder as 25.a., above)
  10. Sourcetree will notice a change in the local repository and list it under "Unstaged files" section
  11. Select either "Stage All" or "Stage Selected", depending on your circumstance
  12. Under comments, follow the following format (without quotes):
    "JIRA XXX-###
    YOUR COMMENTS"
    " (where XXX is the project key, in Jira and ### is the ticket number; you can provide your comments after that)
  13. Next, make sure you select the "Push changes immediately to..." checkbox
  14. Finally, hit the "Commit" button.

    Example of Steps 9 - 11:

  15. Next, create a tag, by clicking on "master" under "BRANCHES" on the left
  16. Right-click on the blue line and select "Tag..."
  17. Give it an appropriate name; generally, this convention should work: "NAME_OF_REPO_v#.#" (where #.# is your version number e.g. 1.0, 1.1, etc.)
  18. Notify that the tag has been created and it's ready to go live.
Start from step 5, on the left.


  1.  On local machine, navigate to the project's directory where you have established your local repository

    Info
    titleNote:

    You should only see the .git folder and the previously exported nitro file:

    Image Added


  2.  Delete the nitro_s file from this directory
  3.  Continue from Step 8, on the Left

Confluence

Pre Go-Live

If the project requirements page does not have a pre go-live log, add it and follow the Developer checklist. Sample Pre Go-Live log, below.

...