Ember s in production mode


#1

Hi is possibile to run ember s in production mode?

If i make

ember build --environment production

and after ember s this is production mode?


#2

ember s -prod should do it


#3

If you are asking if you can run an Ember app in production by using ember s, please, please don’t try. You may get hacked easily (as it wasn’t designed for that). If not, please ignore me :wink:


#4

Don’t use ember s -prod. Instead use have a look at these two:

You basically just copy the files output from ember build and place them on a web-server.


#5

ok thanks, i make the prod build and put all in the www folder