Answer the question
In order to leave comments, you need to log in
How to transfer Ember Cli to hosting?
Good evening everyone!
I can't find information on production mod in ember.
Tell me, do I need to start the ember server in the console already on the hosting, or can I somehow compile the files and just set the path to index.html?
Answer the question
In order to leave comments, you need to log in
Hello.
For production, you need to run ember build . For deployment, there is a good addon ember-cli-deploy
. You
can also set up a bunch: push to the master branch of the version control system -> synchronize files with hosting -> build files. Google "Continuous Integration"
I run ember build --environment production
Ember generates all styles and scripts in /dist, and also adds an empty index.html to /dist. I can’t figure out how to launch the application later, after ember build.
Stanislav, thanks for your help! :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question