saxifrage / cityasacampus

An open-source platform for connecting and showcasing resources within local learning communities.
http://cityasacampus.org/
5 stars 4 forks source link

deploy to Heroku #354

Open chadwhitacre opened 8 years ago

chadwhitacre commented 8 years ago

I propose that we deploy to Heroku, in order to free ourselves up from the burden of writing our own devops infrastructure (cf. #351).

MatthewVita commented 8 years ago

Hi Chad. Note the latest and greatest provisioning stuff is on my "provisioning" branch so we can at least tweak it so that it is our official automated installation for development env (assuming that one is using ubuntu/debian-based Linux). Not a total loss there!

Let's go with Heroku! If it turns out not to be what we want (which is doubtful given your previous successes), our scripts are almost done so that's a fallback.

I'd like to pair with you on this task. I have bandwidth late tonight and on Friday at some points.

Thanks,

Matthew Vita www.matthewvita.com

On Wed, Nov 25, 2015 at 11:53 AM Chad Whitacre notifications@github.com wrote:

I propose that we deploy to Heroku, in order to free ourselves up from the burden of writing our own devops infrastructure (cf. #351 https://github.com/saxifrage/cityasacampus/pull/351).

— Reply to this email directly or view it on GitHub https://github.com/saxifrage/cityasacampus/issues/354.

chadwhitacre commented 8 years ago

Thanks for being open to Heroku! :-)

What's Friday like for you? Could we perhaps spend the morning together? Maybe at Voluto?

chadwhitacre commented 8 years ago

I called Voluto, they have regular hours on Friday (no holiday hours): 7 to 7.

MatthewVita commented 8 years ago

Chad,

Friday morning is not good for me (have to get car work done and wife wants to go to the mall)

It looks like I'll be free'd up after 2pm, however. I'm cool with Voluto, Carnegie Library, or Google Hangouts.

MatthewVita commented 8 years ago

So I have my free account set up and a lightly modified local fork of our codebase and all is well in terms of Ruby/Rails/Postgres/Nginx on Heroku cloud. Now I just need to:

chadwhitacre commented 8 years ago

Yay! Can you push up a branch and start a PR so I and others can inspect the Procfile, etc., and help you with it? :-)

chadwhitacre commented 8 years ago

Friday afternoon is worse for me than Friday morning. Let's collaborate asynchronously here on GitHub. If we sync up at all on Friday, we can perhaps drop to a Hangout.

chadwhitacre commented 8 years ago

@MatthewVita Let's see your branch in a PR! :-)

MatthewVita commented 8 years ago

@whit537 okay, just got home. Will get a branch going within the next hour or so!

chadwhitacre commented 8 years ago

Ftr the PR is #358.

chadwhitacre commented 8 years ago

Alright! We've landed #358! :dancer:

Now I suppose the next step is to deploy a production instance on Heroku and point DNS to it.

@timothyfcook Does Sprout have a Heroku account to use for this? How should we proceed?

chadwhitacre commented 8 years ago

I'm going to set up an instance under my Heroku account, and then we can transfer it to whatever Heroku account @timothyfcook would like.

chadwhitacre commented 8 years ago

DNS instructions: https://devcenter.heroku.com/articles/custom-domains.

chadwhitacre commented 8 years ago

Live at http://afternoon-tundra-5685.herokuapp.com/. I didn't run heroku run rake db:seed. Let me know if you want the seed data in the production instance, @timothyfcook.

chadwhitacre commented 8 years ago

And let me know what Heroku account I should transfer it to! :-)

chadwhitacre commented 8 years ago

Assigned to @timothyfcook per IRL convo.