Changes
Title
unchanged
Publish yii webapp using Git push
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
git
Content
changed
## Warning ##
I did not invent this instruction
s, I read it somewhere and re-organize
itd 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 do
nw
nload 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 th
eis instruction
s at your own risk;
## [on server] - install git, nothing fancy just basic[...]
```
under "/var/www/app-root/private" create file .htaccess (double secure in case accident happends)[...]
## [on local] - prepare for git push
modify or add the follwo
wing content to /app-root/.git/config[...]
```php
git push proud
uction master
```
enjoy!