codeforanchorage / bus-request-loggeR

analytics for bus.codeforanchorage.org
0 stars 0 forks source link

Deploy this to the production server #2

Open NigelKibodeaux opened 9 years ago

NigelKibodeaux commented 9 years ago

How can we get this running on AWS so we can look at the log with it?

muskox commented 9 years ago

I can take a look at it today.

muskox commented 9 years ago

How did you get yours working locally? Can you add a README.md with some basic info? @NigelKibodeaux @hansthompson

NigelKibodeaux commented 9 years ago

Cool, Scott! I haven't gotten it working locally so that'll be a Hans question.

thermokarst commented 9 years ago

@muskox: I dropped a Dockerfile into https://github.com/codeforanchorage/Open_Trails_Anchorage a few months back for spinning up an R env locally --- maybe you can pull something useful from there?

muskox commented 9 years ago

I cut a branch with a Vagrantfile and README. https://github.com/codeforanchorage/bus-request-loggeR/tree/muskox/vagrant The README directions show up to the point where I hit a failure on install.packages("leaflet").

muskox commented 9 years ago

I got it a little further, all of @hansthompson packages load but I'm getting stuck on the fromJSON command not being supported. Look like I may have to bump up the R studio version to 3.1.2 (past the default ubuntu package) to fix this. I'll keep at it.

hansthompson commented 9 years ago

Sorry. I missed this so far. Give me a sec and I'll respond with options

hansthompson commented 9 years ago

I pushed with a dockerfile that MAY solve the issues we were talking about to run the script. The next steps though are to put it in an R shiny web app framework.

Would it be better to

  1. Use a free service like shinyapps.io that would give us 50 hours of use a month?
  2. Build the web app into a local docker deployment. Or
  3. Bite the bullet and get a shiny service instance working in EC2?

Number one would be super quick (and public without authentication), two would load up for anyone that uses docker, and three tax our existing set up perhaps and take maybe a bit more time to work out. I've done it before a year ago but I learned alot in the process.

Thoughts?

hansthompson commented 9 years ago

...and I'm realizing now I messed with the git flow.

NigelKibodeaux commented 9 years ago

1 sounds like a good way to start. It might be enough.

On Saturday, April 4, 2015, Charles Hans Thompson notifications@github.com wrote:

...and I'm realizing now I messed with the git flow.

— Reply to this email directly or view it on GitHub https://github.com/codeforanchorage/bus-request-loggeR/issues/2#issuecomment-89720579 .