Open kgish opened 9 years ago
Hello, @kgish ! It sounds like you might first need to build your Ember assets.
After cloning the project, here are the steps I had to do to get the app running:
bundle
from the root directory to download my Rails gemsnpm i && bower i
from the ember-app directory to download my Ember dependenciesrails s
from the root directory to run the Rails serverember build --watch --environment=development
from the ember-app directory to build/watch the Ember assets (I think this is the step you might be missing.)After doing all the above, I can go to http://localhost:3000/ember-app and see the Ember app running.
Let me know if that helps at all!
Alright, got it working now. Thanks!
One final question though. I want to have the root pointing directly to the ember app rather than a separate ember-app link, how can I do that?
Awesome! Glad it's working.
If you'd like the Ember app to be loaded from the Rails root path, you can update the Rails routes file (config/routes.rb) by replacing root 'welcome#show'
with root 'ember_app#show'
. That should do it!
I cannot get your demo to work. When I fire up the rails app and click on the ember link, I get a number of errors like this: