I'm new to web deployment. Can anyone tell / show me the steps I have to make to deploy my ember cli app to GoDaddy? If in anyway GoDaddy does not support ember cli app, is there a way like some sort of like the java files that can be compiled or something like that in ember to be able to deploy it in any hosting site? If so, please enlighten me.
Ember-CLI app can be deployed to any hosting site as the web server only has to serve static content, generated by executing
ember build --environment=production
This command packages all required files for the application into /dist
folder.
From there, all you need to do is to copy the contents of the /dist
folder to a web server and configure it to serve the contents of this folder.
For browser history to work properly, you should also setup web server to serve all routes with index.html file (see example for Apache server)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With