Here's how you can get server-side rendering with Ember + FastBoot and deploy it with now.sh.
It requires an ember-cli application that doesn't fail when you run
ember fastboot --serve-assets. Also that you have now.sh installed.
How to deploy ember with fastboot using now.sh
ember install ember-cli-fastboot
- Add a
ember build -p
cp server.js dist/server.js
- Add a start script to
cd dist; npm i --save fastboot-app-server; cd ..
So, of course this should be automated. Especially steps 5. and 6. Be my guest! But it works for now.
How to deploy ember (without fastboot) using now.sh
"deploy": "ember build --environment=production; now dist"to your npm scripts in package.json
npm run deploy
This is easier, since we are building the project locally instead of letting now do it.