Skip to content

LucileRog/students

 
 

Repository files navigation

Student directory Build Status

Homework Number 1: Pull requests

How to do this homework

  1. Download https://desktop.github.com for a simple interface to github. Open, and login with your github username. (alternatives are SourceTree and, of course, the command line)
  2. Fork this repository (click on fork top right of this page; this makes a copy of this repo on your github account [somewhere in the cloud])
  3. Go to your fork (it takes you there anyway), and clone your fork to your computer (click on clone or download)
    1. If you installed Github Desktop (recommended), click on "Open in Desktop"
    2. GitHub Desktop will ask you where you want the repo cloned to. Let's call that location on your computer x.
  4. Make sure you have your github username handy
  5. add a JSON file that describes yourself:
    1. Navigate to location x.

    2. Navigate to the _data/spring2017/ directory

    3. Open your text editor, create a file like the one below (you are looking at floswald.json), and save as YOUR_GITHUB_USERNAME.json in the current directory:

      {
        "emoji": "radio",
        "introduction": "BBC6music is my favourite radio station",
        "computing": "dynamic models of housing, location and labor"
      }

      You should replace with your own

      • emoji (choose from this list),
      • introduction, which should be something very brief about yourself, and
      • computing, where you should state what kinds of computational problems you are (or think you will be) solving.
    4. save this file

  6. Back in Github Desktop: You see it says 1 uncommitted change. It tells you that the state of the repo changed. good.
  7. write a summary of the change. Like: "added my username"
  8. click on commit to gh-pages. gh-pages is the default branch on this repo, and that's where we want to add this new file.
  9. Top right in Github Desktop, click on Pull Request.
  10. Additionally add more comments. Then click Send Pull Request.
  11. Done.
  12. You can go and look at your PR by clicking on the link that appears where you clicked.

Teachers: see the meta file for usage instructions.

License

Please observe that this repo is part of the Sciences Po CompEcon Organisation and therefore subject to the license detailed at the bottom of The Syllabus repo.

About

Student repository to practice pull requests:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 45.1%
  • HTML 30.5%
  • CSS 11.7%
  • JavaScript 11.2%
  • Makefile 1.5%