This is a starting point for an assignments repo. It contains the minimum requirements for an assignment repository:
- .gitignore - prevents tracking of files that do not need tracking
- README.md - explains what the repository
- Make a new directory under your documents folder:
mkdir ~\Documents\ACA
- Clone netcore-workbook:
git clone https://github.com/AustinCodingAcademy/netcore-workbook.git ~\Documents\ACA
- Clone netcore-assignment:
git clone https://github.com/daniefer/netcore-assignments.git ~\Documents\ACA
For each assingment:
- Create a new folder for that lesson if one does not aleady exist. For example, for Lesson 5.5 create a new directory in the root of the respositry called
Lesson05.5
- In this new directory, do one of the following:
- For Pre-Work assingments, create a new directory under that lesson's folder called
prework
. Then copy the netcore-workbook lesson'sStartOfLesson
folder contents (not the folder itself, but everything it contains) into that lesson's folder. Using the example above, you would copy netcore-workbook/Lesson05.5/StartOfLesson contents into theLesson05.5/prework
folder. - For Homework assignments, create a new directory under that lesson's folder called
homework
. Then copy the netcore-workbook lesson'sEndOfLesson
folder contents (not the folder itself, but everything it contains) into that lesson's folder. Using the example above, you would copy netcore-workbook/Lesson05.5/EndOfLesson contents into theLesson05.5/homework
folder.
- For Pre-Work assingments, create a new directory under that lesson's folder called
- Commit these additions to the master branch.
- Create a new branch for the pre-work or homework assignment. Follow a naming convention of somekind such as
lesson{number}-{prework|homework}
where{number}
is replaced with the chapter/lesson number and replacing{prework|homework}
with eitherprework
orhomework
. Using the example in step 1, I would name the branch eitherlesson05.5-prework
for pre-works orlesson05.5-homework
for homeworks. - Do all work for the assignment on this branch. Submit the assignment as a pull request back into your forked master and provided the link to the pull request in Campus Manager.
/> cd ~\Documents\ACA\netcore-assignments
/> mkdir Lesson02
/> cd Lesson02
/> mkdir prework
/> cd prework
/> cp ..\..\..\netcore-workbook\Lesson02\StartOfLesson\* -Recurse -Destination .