Reputation: 1078
I'm having some issues getting the Shopify Dashing ruby app setup on Elastic Beanstalk. We run it successfully on Heroku but want to move it over to AWS where the rest of our applications live.
The issue: I can get it to run and load up the basic app but none of the data loads and the console log throws connection errors). This is likely because the /events route doesn't return any data (although it does return a 200)
Things I've tried so far:
I'm thinking its a problem with the json gem since its the one thing I had to fiddle with to get it working on EB (added it to the gemfile:)
source 'https://rubygems.org'
gem 'dashing'
gem 'json'
This code works locally and on Heroku and I'm using the Sample Dashboard generated with 'dashing start' so it's nothing custom that I've done.
Thoughts/Ideas? The app is currently running at (loads the basic HTML but has no values and you will see the errors in the console.log): http://ch-dash.elasticbeanstalk.com/
Upvotes: 1
Views: 611
Reputation: 3772
Try using the elastic-beanstalk gem for packaging and deployment. Noted the .ebextensions generated from real-world example
section, or the sample file included. It includes commands from @gkop that make it work more as expected in the eb environment.
Upvotes: 1