esri open source projects on github

42
Esri Open Source Projects on GitHub Allan Laframboise alaframboise.github.com @AL_Laframboise

Upload: allan-laframboise

Post on 29-Jan-2015

114 views

Category:

Technology


0 download

DESCRIPTION

A quick look at the projects that are out there and how to get started using GitHub.

TRANSCRIPT

Page 1: Esri open source projects on GitHub

Esri Open Source Projects on GitHub

Allan Laframboise

alaframboise.github.com

@AL_Laframboise

Page 2: Esri open source projects on GitHub
Page 3: Esri open source projects on GitHub

Little Background

GitHub

Page 4: Esri open source projects on GitHub

What is GitHub?

§ Cloud-based platform for building, collaborating and managing open source projects

§ Built on Git

§ 4+ million projects

§ 1+ million developers

Page 5: Esri open source projects on GitHub

Why Git/GitHub?

§ DVCS (Distributed Version Control System) § Full copy distribution

§ Branching, merging, issues, wiki § Strong community

Page 6: Esri open source projects on GitHub

“pull request”

Page 7: Esri open source projects on GitHub

GitHub and Open Source

§ Freely § Access § Use § Contribute § Distribute

GitHub is a vehicle; a very popular one.

Page 8: Esri open source projects on GitHub

GitHub Components

§ GitHub.com (in the cloud) § Search, watch, star, notifications, issues, wiki, gist § Dashboards - activity, repos, contributions… § User accounts § Organization

§ GitHub Clients § GitHub for Mac or Windows § Git – command-line

Page 9: Esri open source projects on GitHub

What can you publish?

§ Typical § Code § Documents § Slide presentations § Website content § GeoJSON

§ Other § City data § Travel logs § Music § Recipes § Blogs/Campaigns § Legal docs § Government…

Page 10: Esri open source projects on GitHub

github.com

Page 11: Esri open source projects on GitHub

Open Source Projects

Esri on GitHub

Page 12: Esri open source projects on GitHub

Esri Organization github.com/esri

Page 13: Esri open source projects on GitHub

Esri Organization esri.github.com

Page 14: Esri open source projects on GitHub

Esri Projects

Page 15: Esri open source projects on GitHub

Project Types

1.  Products 2.  Apps and Samples 3.  Templates and Frameworks 4.  Geo Tools 5.  Industry and Government

Page 16: Esri open source projects on GitHub

ArcGIS Products

arcgis-flex-viewer arcgis-flex-viewer-builder

arcgis-osm-editor arcgis-dijit-geocoder-js

Page 17: Esri open source projects on GitHub

Apps and Samples

quickstart-map-js maps-app-android

sencha-touch-map-checkin-js driving-directions-ios

arcgis-samples-winstore

Page 18: Esri open source projects on GitHub

Templates and Frameworks

bootstrap-map-js basic-storytelling-template-js social-media-map-template-js

3d-cities-template spatial-framework-for-hadoop

Page 19: Esri open source projects on GitHub

Geo Tools

esri-leaflet Terraformer

geoportal-server gis-tools-for-hadoop geometry-api-java

node-geoservices-adaptor/koop geoservices-js

Page 20: Esri open source projects on GitHub

Industry and Government

my-government-services executive-dashboard

park-and-recreation-finder citizen-service-request

water-utility-network-editing

Page 21: Esri open source projects on GitHub

Project Activity

§ 450+ developers § 140+ projects

Page 22: Esri open source projects on GitHub

github.com/esri

esri.github.com

Page 23: Esri open source projects on GitHub

Getting Started

GitHub Workflow

Page 24: Esri open source projects on GitHub

Getting Started – Homework Assignment!

1.  Create a GitHub.com account 2.  Install a GitHub client (and Git)

§  windows.github.com §  mac.github.com

Resources

§  Doc, videos, ref - git-scm.com §  Top Git Commands - gitref.org §  Markdown - daringfireball.net/projects/markdown/syntax §  Tutorial - http://try.github.com

Page 25: Esri open source projects on GitHub

help.github.com

Page 26: Esri open source projects on GitHub

You will do one of the following:

1)  Get (steal) Code 2)  Contribute Code 3)  Create a New Project

Page 27: Esri open source projects on GitHub

1.  Fork 2.  Clone --- Local commits --- 3.  Pull/Merge 4.  Push 5.  Pull Request

GitHub Work-flow

4. Push 3. Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

--- Local Commits ---

Page 28: Esri open source projects on GitHub

The first thing you’ll do…

Page 29: Esri open source projects on GitHub

§ Fork: Cloud copy § Clone: Local copy

Get Code

4. Push 3. Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

$ git clone https://github.com/alaframboise/quickstart-map-js.git!

Page 30: Esri open source projects on GitHub

§ Add changes to the index § Store local edits

Make Local Commits

4. Push 3. Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

$ git add * !$ git commit –m “These are my cool edits to code”!

--- Local Commits ---

Page 31: Esri open source projects on GitHub

§ Create remote connection § Pull and merge edits § Push to your cloud Tip: Always merge before pushing

Merge and Push Code

4. Push 3. Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

$ git add remote upstream https://github.com/Esri/quickstart-map-js.git!$ git pull upstream master!$ git push origin master!

Page 32: Esri open source projects on GitHub

The second thing you’ll do…

Page 33: Esri open source projects on GitHub

§ Request to accept § Specify branch § Ensure can merge

Tip: Use web client!

Pull Request

4. Push 3. Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

Page 34: Esri open source projects on GitHub

The third thing you’ll do…

Page 35: Esri open source projects on GitHub

§ Create § Publish § Push § Pull/Merge

New Project

Push Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

$ git init (or create on GitHub and $git clone …)!$ git add *!$ git commit “My awesome project”!$ git push master!

Page 36: Esri open source projects on GitHub

If you’re cool, you’ll also…

Page 37: Esri open source projects on GitHub

§ README.md § Use gh-pages § Use wiki

Publish Documentation

Push Pull/ Merge

2. Clone

1. Fork

5. Pull Request Upstream/ Master Your Fork

Your Clone

$ git checkout –b “gh-pages”!$ git push origin gh-pages!

Page 38: Esri open source projects on GitHub

README.md

§ Description § Features § Instructions § Requirements § Resources § Issues § Contributing § Licensing

Page 39: Esri open source projects on GitHub

alaframboise.github.com

Page 40: Esri open source projects on GitHub

Final Notes

§ Get on GitHub! § Check out the esri.github.com § Find a project § Follow a project § Create a project § Make a pull request § Join the community

Page 41: Esri open source projects on GitHub

esri.github.com

Page 42: Esri open source projects on GitHub