Created
May 3, 2010 22:50
-
-
Save reaktivo/388687 to your computer and use it in GitHub Desktop.
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/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.1/master/index.php | |
curl -o application/bootstrap.php https://raw.github.com/kohana/kohana/3.1/master/application/bootstrap.php | |
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
Thanks, updated to use kohana 3.1 too.
You can use
curl https://raw.github.com/gist/388687/0c39f5f85f7fe7c104db924 bf6f25d46732e6115/new_kohana_app.sh | sh
to install, treat carefully.