Sample for 'Intro to GitHub' Workshop - MaptimeYVR
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.
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.
- 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
- Submit pull request.