code4sac / sac-hash

5 stars 3 forks source link

On-boarding Questions #38

Open dlindahl opened 10 years ago

dlindahl commented 10 years ago

Hello! I was at the @code4sac meetup last night (2/5) and was looking to help out with this project.

I guess initially, I'd like to know the lay of the land a bit. This is what I discovered so far:

code4sac/sac-hash

The main webpage hosting both the public-facing content as well as persisting tweets from Twitter's Streaming API (via the data/140dev library)

A promo page that lives... somewhere? It also contains a Twitter library, but I'm unsure what it is doing.

code4sac/hashtagmap

Maps hashtags. Not sure if this is related to code4sac/sac-hash, but it seemed too similar to ignore.

Bootstrapping Questions

Thanks for your time!

efletch commented 10 years ago

Here's answers to the questions I know, @KalebClark and @a-axton can add some depth too

Landing Page

Originally only the landing page was up. We used to promote the launch event and get people aware of the project. The idea was that the map would link back to the landing page which would give info about the project, FAQ, contact info etc The twitter bit is probably the twitter live feed we had on the landing page.

Google Fusion Tables

Basically a spreadsheet of the Neighborhood paired with geojson, I generated the geojson using this nifty tool http://geojson.io/ We also have a fusion table with all the neighborhoods in it, some 50+ but we wanted to roll out small and some neighborhood names need modified into an appropriate hashtag, e.g. Midtown -> MidtownSac

Server + PHP

The PHP version is 5.5.4, the whole thing runs on a digital ocean server (https://www.digitalocean.com/) that @KalebClark spun up

dlindahl commented 10 years ago

So I've got the app kinda sort-of working on my end. The only issue I am having is that the data returned from the Fusion Table contains much more data that what is returned in production. Is the Google API Key that is included in the repo not the same as the one used in production?

I noticed that all_data.php skips any row that does not contain a hashtag value. Given that same stipulation, I am getting back rows for areas like PointWest, WoodLake, etc.

a-axton commented 10 years ago

code4sac/hashtagmap is a deprecated version of the backend for code4sac/sac-hash. If you have any questions about the front-end you can direct them towards me. Things got a little hacky at the end right before launch so there's probably a bunch of old code that I need to go through and clean up.

We don't really have a deployment process set up yet. Frankly, we haven't launched enough apps yet to really have a process in place.

On Fri, Feb 7, 2014 at 9:58 AM, Derek Lindahl notifications@github.comwrote:

So I've got the app kinda sort-of working on my end. The only issue I am having is that the data returned from the Fusion Table contains much more data that what is returned in production. Is the Google API Key that is included in the repo not the same as the one used in production?

I noticed that all_data.phphttps://github.com/code4sac/sac-hash/blob/e6f55a9464cbfb045c5494cb077a7be8737ff601/data/alldata.php#L19skips any row that does not contain a hashtag value. Given that same stipulation, I am getting back rows for areas like PointWest, WoodLake, etc.

Reply to this email directly or view it on GitHubhttps://github.com/code4sac/sac-hash/issues/38#issuecomment-34481244 .