Coder Social home page Coder Social logo

wdi23-homework's Introduction

Homework Repository

  1. Git Config
  2. Repository Setup;
  3. Do Your Homework;
  4. Submit Your Homework.

1. Git Config

You only need to do this part once on your machine.

git config --global user.name "ReplaceMe"
git config --global user.email "[email protected]"
git config --global color.ui "auto"

2. Repository Setup

You only need to do this part once, not every time you're submitting homework!

  • Fork this repository
    • 'Forking' creates a personal, 'forked' copy of this repository on your Github account.
    • Hit the Fork button in the top right-hand corner of this page.
  • Clone your forked repository to your computer
    • 'Cloning' takes your 'forked' repository on GitHub and creates a local copy (aka 'clone') on your computer.
    • Make sure you're browser is open to your forked version of this repository on Github (eg http://github.com/{{YOUR_USERNAME}}/WDi23-Homework).
    • Hit the Clone or Download button in the top right-hand corner of the page and copy the URL to your clipboard.
    • Open Terminal/iTerm2 to the directory in which you intend to store your homework.
    • git clone url_of_your_fork_on_github (where url_of_your_fork_on_github is the URL you copied after hitting 'Clone or Download', above).
  • Add an upstream remote repository
    • Creating an upstream remote links the local repository on your computer to this repository on Github
    • cd WDi23-Homework
    • git remote add upstream https://github.com/phoboes/WDi23-Homework
    • git pull upstream master

3. Do your Homework

You should put each night's homework in a new folder within the appropriate directory of your homework repo. So, for day two, where you have two tasks ("Calculator" and "Strings"), you might do something like this:

  1. Open Terminal/iTerm2;
  2. Go to your local homework repo (eg, cd Projects/general-assembly/WDi23-Homework, or wherever your local repo is);
  3. From here, go to the folder matching your name within that repo, and the appropriate week (eg, groucho_marx/week_01);
  4. Create new folders for each of the day's homework tasks: (eg mkdir calculator and mkdir strings);
  5. Create the files necessary to complete the homework in their respective directories;
  6. Get to it!

4. Submit Your Homework

You need to do this every time you're submitting homework.

  • Commit your work to your local repository progressively
    • git add .
    • git commit -m "your commit message goes here"(where your commit message goes here is your description of the work you are committing, eg "added subtraction to JS calculator").
  • Merge changes from this repository into your own local repository
    • git pull upstream master
  • Push the changes in your local repository to your forked repository
    • git push origin master
  • Once you're finished, submit a pull request for me to accept your homework
    • In the pull request comment, tell me the following:
      • How difficult did you find this (out of 10)? 0 being no problems at all, 10 being impossible;
      • Was there anything that you struggled with?;
      • Is there anything that you'd like some further information on?;
      • Roughly how long did it take?

If you don't mention anything in the Pull Request comments, we will assume you had no problems at all with it!

wdi23-homework's People

Contributors

phoboes avatar matedge avatar mbackhouse avatar reetaa avatar amandakitsam avatar newplasticideas avatar katrinafrost avatar minaparnian avatar jheepark avatar bourkison avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.