Gii for Production App

I am developing a yii app in test now and stepping through tutorials which use Gii.
Once i’m finished i was thinking about deploying gii to develop a change to push to production.

In general do developers use gii to develop and then remove the module from the main.php file?

I’d just like to know if i have the general processing concept down as to how to proceed?


Gii is not meant to be used in production I would advise you make the changes locally and push them to your production server.

gii is used for generating resources and then removed if you look at the config file you will see it is under a YII_DEBUG flag which checks if the env is dev

Thanks for the quick reply.