Sample built for the 'Intro to GitHub' session for MaptimeYVR
HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Amr
Sarah
UserA
sarahmprz
.gitattributes
README.md
index.html

README.md

Sample for 'Intro to GitHub' Workshop - MaptimeYVR

This is a sample built for the 'Intro to GitHub' session for MaptimeYVR held on Tuesday Feb. 17, 2015
Slides for this talk.

Goal of this exercise

Learn how to:

  • Fork, commit, and submit a pull request on a Git repo.
  • Use the gh-pages branch to host websites on GitHub.

Background

The published site is a simple map that loads one Geojson file for each user/contributor that includes some points of interest.
Each user will fork the main repo, add a folder for themself, point to that folder in the main Index.html file and submit a pull request.

Resources

Steps

  • Fork this repo.
  • Use the GitHub client (Windows or Mac) to clone the files to your machine.
  • Add a folder with your username. Add a geojson file named 'locations'.
  • Add a point (or more) in the file with properties 'name', 'color' and 'user'.
  • Modify Index.html to add the folder name to the array named 'users'.
  • Commit changes.
  • Sync repo with GitHub.
  • Check changes by visiting the published page at http://<username>.github.io/sampleIntoToGitHub
  • Submit pull request.