Created
May 14, 2012 11:17
-
-
Save mgalang/2693418 to your computer and use it in GitHub Desktop.
Basic installation script for Kohana 3.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git submodule add git://github.com/kohana/core.git system | |
git submodule add git://github.com/kohana/database.git modules/database | |
git submodule add git://github.com/kohana/userguide.git modules/userguide | |
git submodule add git://github.com/kohana/image.git modules/image | |
git submodule add git://github.com/kohana/codebench.git modules/codebench | |
git submodule add git://github.com/kohana/auth.git modules/auth | |
git submodule add git://github.com/kohana/pagination.git modules/pagination | |
git submodule add git://github.com/kohana/orm.git modules/orm | |
git submodule add git://github.com/zombor/KOstache.git modules/kostache | |
# git submodule add git://github.com/shadowhand/sprig.git modules/sprig | |
git submodule init | |
git commit -m 'Added initial submodules' | |
mkdir -p application/classes/{controller,model} | |
mkdir -p application/{config,views} | |
mkdir -m 0777 -p application/{cache,logs} | |
echo '[^.]*' > application/{logs,cache}/.gitignore | |
curl -o index.php https://raw.github.com/kohana/kohana/3.2/master/index.php | |
curl -o application/bootstrap.php https://raw.github.com/kohana/kohana/3.2/master/application/bootstrap.php | |
curl -o .htaccess https://raw.github.com/kohana/kohana/3.2/master/example.htaccess | |
git add index.php | |
git add application | |
git commit -m 'Added initial directory structure' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment