From 8901cbb7337ff45fe622bc2e3e7d6214c0a42715 Mon Sep 17 00:00:00 2001 From: Nan Meng Date: Sat, 31 May 2014 11:35:17 -0400 Subject: [PATCH 1/4] try initial map load --- CodeForBoston-SBA.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/CodeForBoston-SBA.html b/CodeForBoston-SBA.html index c9a1742..6bcf24c 100644 --- a/CodeForBoston-SBA.html +++ b/CodeForBoston-SBA.html @@ -1,13 +1,15 @@ - CodeForBoston-SBA +Leaflet + + + + - - {{> hello}} +
+ - - From 92cb608be0746fca81513056c0357d337f15d36b Mon Sep 17 00:00:00 2001 From: Nan Meng Date: Sat, 31 May 2014 11:35:17 -0400 Subject: [PATCH 2/4] :q:try initial map load --- CodeForBoston-SBA.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/CodeForBoston-SBA.html b/CodeForBoston-SBA.html index c9a1742..dc354c9 100644 --- a/CodeForBoston-SBA.html +++ b/CodeForBoston-SBA.html @@ -1,13 +1,16 @@ - CodeForBoston-SBA +Leaflet + + + + - - {{> hello}} +
+ - - From f1e693672f84675b42b35c8198ea286851f6cfc9 Mon Sep 17 00:00:00 2001 From: Nan Date: Sat, 31 May 2014 17:37:23 -0400 Subject: [PATCH 3/4] Delete CodeForBoston-SBA.js --- CodeForBoston-SBA.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 CodeForBoston-SBA.js diff --git a/CodeForBoston-SBA.js b/CodeForBoston-SBA.js deleted file mode 100644 index 783820c..0000000 --- a/CodeForBoston-SBA.js +++ /dev/null @@ -1,19 +0,0 @@ -if (Meteor.isClient) { - Template.hello.greeting = function () { - return "Welcome to CodeForBoston-SBA."; - }; - - Template.hello.events({ - 'click input': function () { - // template data, if any, is available in 'this' - if (typeof console !== 'undefined') - console.log("You pressed the button"); - } - }); -} - -if (Meteor.isServer) { - Meteor.startup(function () { - // code to run on server at startup - }); -} From 986c5c746169fa87a84346501c656f10216328ca Mon Sep 17 00:00:00 2001 From: jmdavi Date: Wed, 3 Sep 2014 00:02:15 -0400 Subject: [PATCH 4/4] added installation instructions to README --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index fd5c81f..fca742f 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,38 @@ CodeForBoston-SBA Map-based web app that helps small busniesses with their planning and marketing by presenting interesting business-related information + +HOW TO INSTALL: +From terminal, clone the current version of the repository: +$ git clone https://github.com/nanmeng/CodeForBoston-SBA.git + +Switch to development branch, nmeng: +$ git checkout nmeng + +You will want to work in a new branch based on your name: +$ git checkout -b NAME + +Install node: +http://nodejs.org/download/ + +Navigate to the file directory of /CodeForBoston-SBA/smallbusiness: +$ cd /CodeForBoston-SBA/smallbusiness + +Use Node to install: +$ npm install + +If needed, install Grunt: +$ npm install -g grunt-cli +[SIDENOTE TO-DO: Add to package.json that grunt should be installed automatically.] + +Run Grunt: +$ grunt + +Open a new terminal window (nagivate to /CodeForBoston-SBA/smallbusiness as necessary), then run the following code: +$ bin/www + +In your web browser, go to http://localhost:3000/ + +As you work, remember to pull code from nmeng on occassion to benefit from the team's progress! + +WORKING WITH DATA: