F
F
fsamorodov2015-12-14 17:48:22
Ember.js
fsamorodov, 2015-12-14 17:48:22

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

2 answer(s)
S
Stanislav Romanov, 2015-12-14
@fsamorodov

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"

F
fsamorodov, 2015-12-14
@fsamorodov

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! :)

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question