Publish yii webapp using Git push

Comparing #2 with #3

Revision #3 was created by rootbear rootbear on Jul 11, 2012, 2:50:03 PM.

download sqlite database before git the update

Content

[...]
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;

Assuming server is Ubuntu Linux;

If you have dynamic files uploaded by user
 or sqlite as database, **PLEASE download them first** before you git push to publish, if you lose them by using this instruction, don't come back to blame on me!

I am not an expert on git nor in server security, use this instructions at your own risk;

## [on server] - install git, nothing fancy just basic
[...]