drodata / blog

A test project used for learning the Yii Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. git clone git@121.42.26.50:git/blog.git;

  2. protected/config/下新建pswd.php文件,将MySQL密码信息输入进去; 可以考虑重建 blog 目录,先将此文件添加上,edit it after clone;

  3. Change file permission:

    cd blog/
    sudo chgrp -R www-data assets/ 
    chmod g+w assets/
    protected/runtime/
    cd protected/
    sudo chgrp -R runtime/ models/ controllers/ views/ 
    chmod g+w runtime/ models/ controllers/ views/
  4. 步骤一中仅 clone master branch, 如果 remote 有多个分支, 还需要逐个运行git fetch <remote> <branch-name>, 注意命令中的<remote> 需提前在blog/.git/config内配置;

About

A test project used for learning the Yii Framework


Languages

Language:PHP 32.4%Language:JavaScript 31.0%Language:CSS 28.8%Language:HTML 5.1%Language:CoffeeScript 2.2%Language:Go 0.3%Language:Python 0.2%Language:ApacheConf 0.0%Language:Makefile 0.0%Language:Shell 0.0%Language:Batchfile 0.0%