Skip to content

AmrEldib/sampleIntroToGitHub

gh-pages
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Amr
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Sample built for the 'Intro to GitHub' session for MaptimeYVR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages