|
| 1 | +Assignments |
| 2 | +=========== |
| 3 | + |
| 4 | +All assignments for the course will be submitted using the Github |
| 5 | +fork-and-pull model. Here are the steps you'll need to complete to do the job: |
| 6 | + |
| 7 | +1. Log in to the github website |
| 8 | + |
| 9 | +2. Visit my repository for the class documentation: |
| 10 | + http://github.com/cewing/training.python_web |
| 11 | + |
| 12 | +3. In the top right corner of the repository listing, find the button labelled |
| 13 | + 'Fork'. Click it to fork the repository. |
| 14 | + |
| 15 | +4. After a short while, you'll find that you now have a copy of this |
| 16 | + repository in your own github account. Clone that to your own machine: |
| 17 | + |
| 18 | + ``git clone http://github.com/<username>/training.python_web.git`` |
| 19 | + |
| 20 | +5. Complete the assignment, placing your final scripts into the |
| 21 | + ``assignments/weekNN/athome`` directory in the clone on your local machine. |
| 22 | + |
| 23 | +6. Commit your changes to the repository (you'll need to ``git add`` new files |
| 24 | + you create, then ``git commit`` them, e.g.: |
| 25 | + |
| 26 | + ``git commit <file> -m "some steps I took to complete the assignment"`` |
| 27 | + |
| 28 | +7. Push your committed changes back to your github account: |
| 29 | + |
| 30 | + ``git push origin master`` |
| 31 | + |
| 32 | +8. Back on the github website, click on the 'Pull Request' button at the top |
| 33 | + of the page listing your fork of my repository (the copy in your account). |
| 34 | + You can write a note to me if you like when you make your pull request. |
| 35 | + |
| 36 | +From step 8, I'll get an email that tells me that you have made a pull |
| 37 | +request. That email will contain links to your fork of my repository. I can |
| 38 | +use that link to review the changes you've made. After I've reviewed your |
| 39 | +assignment, I'll close the pull request because I don't actually want to pull |
| 40 | +your changes for this assignment into my repository. |
| 41 | + |
| 42 | +That'll be all. |
0 commit comments