Team Names
Lodermeier, Ryan
Davis, Britt
Njuguna, Jesse W
<<<<<<< HEAD Steps.... TO TEST THE CUSTOM CHECKS:
- Clone the repo: git clone https://github.com/byrdsmyth/cougar-nation-swtesting
- Import as a project to eclipse from the directory which you cloned into
- In eclipse, right-click on the folder net.sf.eclipsecs.sample
- Select run-as... Eclipse Application
- In the second Eclipse that pops up, click Import...
- Browse to the location where you cloned the repository
- Open the tests folder
- Click on testCode and hit Finish
- Once the project is imported, double-click on it to open it up
- Go to the Eclipse menu > Preferences > Checkstyle
- Click New... and give it a name, then hit apply and close
- Right-click on the testCode folder in the Project Explorer
- Go to properties > Checkstyle
- Check the box for "activate checkstyle for this project"
- In the drop-down menu, select the new configuration you just made
- Click Configure...
- Scroll down to My Custom Checks and hit the arrow to expand
- Add all the custom check and hit finish
- Hit apply and close, and yes when asked to rebuild the project
- Go to the Window menu > show > other > select the two views under checkstyle
- You should now see the Checkstyle error for our custom checks
SETUP STEPS FOR USING GITHUB: First Time: 1)git config -global user.name "username" 2)git config -global user.email "email"
After inital setup, get the repo going and walk through basic work flow
- git init (eother in directory of planned repo or give it the path) 2a) If first time with Git Hub create your keys in Linux then add to Git Hub.
- git clone with ssh key
- git pull origin master
- git checkout -b (do not need -b if branch already exists)
- git add
- git commit -m
- git push origin
- Handle to pull request on GitHub
- Git pull origin master
Options
- git reset --hard -> reset to origin master
- git reset -> soft reset
- update .gitignore if you would like to not include diretories or files. It is recursive
- setup keys from command line: ssh-keygen -t rsa -b 4096 -C "your email". Then go to /home/.ssh/id_rsa.pub. Copy that text and enter it into GitHub or BitBucket as a new key. This will allow both git and GitHub/BitBucket to talk to each other