Skip to content

Instantly share code, notes, and snippets.

@seifsallam
Last active December 18, 2015 14:48
Show Gist options
  • Save seifsallam/5799461 to your computer and use it in GitHub Desktop.
Save seifsallam/5799461 to your computer and use it in GitHub Desktop.
Deploying ember on heroku using yeoman

Deploying Ember on Heroku using Yeoman

  1. I'm going to assume here that you have an ember application ready that you want to deploy.
  2. Install Generator Heroku using the steps there, and don't forget to add the block of code to your gruntfile.js. You should find the copy tag already there, just append to it
  3. The run grunt build command to generate the /dist folder. That will complie everything and generate your web-app
  4. If you want you can test it using grunt server:dist
  5. Now go to /dist folder
  6. Create a heroku app heroku create
  7. Commit everything in the dist folder (Don't go up to your root direcotry, you want to commit update to heroku) I used github to add local repo and manage everything from there.
  8. Finally run git push heroku master and you're done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment