Open openhouse opened 7 years ago
Hey, I would love it if you could open up a PR and help with this one. If not, I'll try and get to it soon.
My steps from earlier aren't working today. I have a fresh "ember-welcome-page" fastboot app with all the dependencies up to date. I follow the steps above, which used to work, but after deploying to Digital Ocean I see 502 Bad Gateway.
It must be due to updated dependencies. Will dig into this more tomorrow.
#ember -v
ember-cli: 2.13.1
node: 7.10.0
os: darwin x64
Yay! It works! Here are the steps I took to get this working:
Tested my app, fastboot works locally.
Get Digital Ocean Access Token https://cloud.digitalocean.com/settings/api/tokens
Generate SSH keys https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Set terminal's environment variables in
~/.bash_profile
Create "one-click app" digital ocean droplet
ember deploy production
to timeout on ssh because it was trying to connect to the private network ip. -- I only selected monitoringOnce your droplet is created...
In your project directory
ember do:provision
In the wizardUse DNS to point your domain name at the ip address given.
Whitelist your domain name for fastboot in
config/environment.js
https://github.com/ember-fastboot/ember-cli-fastboot#hostember deploy production
takes a minute, then presto! it works! Thanks @iheanyi!