Difference between #1 and #2 of
Publish yii webapp using Git push

Revision #2 has been created by Maurizio Domba Cerin on Jul 10, 2012, 9:55:37 PM with the memo:

fix spelling
« previous (#1) next (#3) »

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 instructions, 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, **PLEASE donwnload 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 theis instructions 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 happen
ds)
[...]
## [on local] - prepare for git push

modify or add the foll
wowing content to /app-root/.git/config
[...]
```php
git push pro
uduction master ``` enjoy!
2 0
8 followers
Viewed: 13 647 times
Version: 1.1
Category: How-tos
Tags: git
Written by: rootbear
Last updated by: rootbear
Created on: Jul 9, 2012
Last updated: 5 years ago
Update Article

Revisions

View all history