We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all,
I've shared these with a handful of people, but in case it helps anyone else—here's how I deployed Ember to GH pages & Rails to Heroku:
First, watch out for three issues w/the Ember deployment guide:
ENV.rootURL
not ENV.baseURL
/repo-name
/
Heroku/Rails:
heroku create
git push heroku master
heroku run rake db:migrate
heroku run rake db:seed
heroku config:set SECRET_KEY_BASE=$(rake secret)
heroku config:set SECRET_TOKEN=$(rake secret)
heroku config:set CLIENT_ORIGIN=https://yourgithubname.github.io
heroku apps:rename newname
heroku restart
heroku open
GH pages/Ember:
config/environment.js
ENV.rootURL = '/quiltr';
ENV.apiHost = 'https://quiltr.herokuapp.com';
git checkout -b gh-pages
/dist
.gitignore
~/.gitignore
ember build --environment=production
git status
dist/
git subtree push --prefix dist origin gh-pages
The text was updated successfully, but these errors were encountered:
Please leave this open for now. Where these notes identify issues that should be addressed, they need to be filed in their appropriate repos.
If you'd like to talk about this issue with respect to your own deployment, please open another issue and reference this one.
Sorry, something went wrong.
I believe these have mostly been addressed by https://github.com/ga-wdi-boston/ember-deployment-guide
Agreed! Thanks so much @rhjones.
No branches or pull requests
Hi all,
I've shared these with a handful of people, but in case it helps anyone else—here's how I deployed Ember to GH pages & Rails to Heroku:
First, watch out for three issues w/the Ember deployment guide:
ENV.rootURL
,not ENV.baseURL
, in your config settingsENV.rootURL
for production environment should point to/repo-name
, not to/
Heroku/Rails:
heroku create
git push heroku master
heroku run rake db:migrate
heroku run rake db:seed
heroku config:set SECRET_KEY_BASE=$(rake secret)
heroku config:set SECRET_TOKEN=$(rake secret)
heroku config:set CLIENT_ORIGIN=https://yourgithubname.github.io
heroku apps:rename newname
(optional)heroku restart
heroku open
GH pages/Ember:
config/environment.js
according to deployment guideENV.rootURL = '/quiltr';
ENV.apiHost = 'https://quiltr.herokuapp.com';
git checkout -b gh-pages
/dist
from.gitignore
by adding a '#' before it. (do the same for~/.gitignore
).gitignore
ember build --environment=production
git status
dist/
) and commitgit subtree push --prefix dist origin gh-pages
The text was updated successfully, but these errors were encountered: