Production deployment on share hosting

Hi,

I have a little question about deployment in production.

I use the advanced template on a share hosting.

When you initially install the template you make :


php /path/to/yii-application/init 

Then we configure the db in main-local.php (nothing in main.php in the documentation)

How about production deployment ?

Where launch (I am in shared hosting - no console) :


php /path/to/yii-application/init --env=Production overwrite=All 

and what the command does exactly (I hesitate to launch it locally because the overwrite without explanation) ?

Sorry if the question seem to be evident for all ^^

Jonathan

It just copies from environments directory to the root directory. You can do it manually if you want.

Thanks !

It’s clear