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

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 or sqlite as database, **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: 19 784 times
Version: 1.1
Category: How-tos
Tags: git
Written by: rootbear
Last updated by: rootbear
Created on: Jul 9, 2012
Last updated: 12 years ago
Update Article

Revisions

View all history