はじめてのFuelPHP 
ちょっとさわってみることになったのでいろいろとメモしていきたいなと思います。
oilのインストール 
コマンドラインからだと簡単インストール。
1 
curl get.fuelphp.com/oil | sh 
プロジェクトの作成 
やることを一気に書いちゃいます。
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
oil create [projectName]
 cd [projectName]
 rm -rf .git .gitmodules *.md docs fuel/core fuel/packages
 git init
 git submodule add git://github.com/fuel/core.git fuel/core
 git submodule add git://github.com/fuel/oil.git fuel/packages/oil
 git submodule add git://github.com/fuel/auth.git fuel/packages/auth
 git submodule add git://github.com/fuel/parser.git fuel/packages/parser
 git submodule add git://github.com/fuel/orm.git fuel/packages/orm
 git submodule add git://github.com/fuel/email.git fuel/packages/email
 git submodule foreach 'git checkout 1.7/master'
 git add .
 git commit -m "initial commit" 
クローンする時は
1 
git clone --recursive [リポジトリURL] 
サブモジュールをアップデートしたい時は
1 
2 
git submodule foreach 'git pull'
 git submodule foreach 'git checkout [目的のバージョン]/master' 
エラーが出たところ 
インストールする時にいくつかエラーが出てたのでその辺りをまとめて。
default_timezoneの設定エラー 
oil createした時に
1 
Error - date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in COREPATH/classes/fuel.php on line 161 
タイムゾーンの設定ができてないよ!のエラー。config.phpのtimezoneを設定すればオッケーです。
1 
vi fuel/app/config/config.php 
1 
'default_timezone'   => 'Asia/Tokyo', 
97行目あたりに// 'default_timezone'   => null,とコメントアウトされている部分があるのでここを変更。
Composerがインストールできてない!のエラー 
そのままプロジェクトを配置してアクセスした時にブラウザに
1 
Composer is not installed. Please run "php composer.phar update" in the root to install Composer 
が表示される。
プロジェクトを置いたルートディレクトリ(composer.pharが置かれているディレクトリ)で
1 
php composer.phar update 
をすればオッケーです。
参考