Git Product home page Git Product logo

app_map's Introduction

#AppMap

##Clone the Repo

git clone [email protected]:dorton/app_map.git

cd app_map

##Add data to csv

Open the addresses.csv file and use the example as a guide to fill in all of you data. Don't worry about the column marked lat and lng. process.rb will take care of that for us.

##Run the ruby script

in terminal, run ruby process.rb. If may take a bit depending on the amount of address that need to be geocoded.

##Create a gh-pages branch and push files

After running process.rb, we should have a working map that is index.html. You can open that file in your browser to make sure that everything looks ok. If so, we will want to create a branch and push the index and leaflet js files to it.

In terminal: git checkout -b gh-pages

git add index.html leaflet-heat.js

git commit -am "adds index and js files"

git push origin gh-pages

Now you will be able to go to http://GITHUBUSERNAME.github.io/app_map and see your map live.

app_map's People

Contributors

dorton avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.