Getting Started

Getting Started

ソースをチェックアウトした後にすぐに README.txt ファイルを読みはじめたい場合、 *NIXシステムでの最初のステップは次のようになります:

  1. 'env php' が動作するかどうかをチェックします。/usr/bin/env php -vのように実行します。もしphp -vを実行したときに期待される出力 (例えば PHP 5.1.2 (cli) (built: Sep 6 2006 22:04:21)…)が何もなければ、次のスクリプトの最初の行をPHPへのパスにカスタマイズする必要があります。
    ''script/console'', ''script/generate'', ''script/migrate'', ''script/setup'', ''script/test''
  2. プロジェクトを作成します (少なくとも対象パスにある public フォルダがdocrootになければなりません)
    ./script/setup /your/project/destination/path
  3. プロジェクトディレクトリにウェブサーバの実行ユーザが書き込みできるか確認してください。
    (例:) chgrp www-data /your/project/destination/path -R && chmod g+w /your/project/destination/path -R
  4. 対象パスへのURL指定がブラウザでできるようにAkelosを設定するか、または次のようにコピーし
    cp config/DEFAULT-config.php config/config.php

    このファイルを必要に応じて編集してください。

  5. モデル、コントローラ、テーブルを生成します。
    (例:) ./script/generate model Article ./script/generate scaffold Blog

    (存在するscaffold.cssを上書きするためにforce=true を追加する必要があるかもしれません)

 
gettingstarted_ja.txt · Last modified: 2007/08/14 10:56 by bobchin.ryu
 

The Akelos Framework was created by Bermi Ferrer and other contributors.
Potions of the code and documentation have been ported from Ruby on Rails.

The Akelos Framework is released under the LGPL license.

"Akelos", "Akelos Framework", and the Akelos logo are trademarks of Bermi Labs All rights reserved.

Wiki driven by DokuWiki