Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku deployment #1

Open
vasilakisfil opened this issue Aug 18, 2014 · 3 comments
Open

Heroku deployment #1

vasilakisfil opened this issue Aug 18, 2014 · 3 comments

Comments

@vasilakisfil
Copy link

Well I know that you don't use Heroku anymore but if you have time I would like to know if it is possible (and how) to deploy such an app (rails + ember-cli) in Heroku...

@Sinetheta
Copy link

Ya, that was an unfortunate discovery, to find that deploying a project build into a subdirectory like this one is a non-trivial matter on heroku.

@shime
Copy link

shime commented Jan 15, 2015

Just include the JS app build into Rails application and deploy it like a standard Rails app on Heroku.

@Sinetheta
Copy link

@shime that's the "non-trivial" part. You need a deploy process that builds the frontend, checks it in "somewhere" (possibly a branch just for production deployments), then either configure your repo to run despite the fact that the rails app isn't in the root) or use git subtree to push only the /rails directory to heroku.

An example rake task using the second technique is DockYard's ember-cli-plus-backend which accompanies their Building an Ember App with Rails Part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants