2017 © Pedro Peláez
 

library spongecake

dietcake sample

image

dietcake/spongecake

dietcake sample

  • Wednesday, April 4, 2018
  • by tsukimiya
  • Repository
  • 6 Watchers
  • 14 Stars
  • 151 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 14 Versions
  • 1 % Grown

The README.md

SpongeCake

spongecake は、dietcake のプロジェクトテンプレートです。 spongecake を利用する事で、dietcakeを簡単に使いはじめる事ができるようになります。, (*1)

インストール手順

composerを使用してインストール

composerが使えるなら、以下のコマンドで簡単にインストールすることが可能です。, (*2)

composer create-project dietcake/spongecake path/ "1.*"

これで、path/ 以下にdietcakeが使える状態で展開されます。, (*3)

zipファイルをダウンロードしてインストール

https://github.com/tsukimiya/spongecake/releases/latest から最新のzipファイルをダウンロードし、展開します。, (*4)

wget https://github.com/tsukimiya/spongecake/archive/v1.2.0.zip
unzip v1.2.0.zip

core.php のコピー

データベースの接続設定などを書き込む core.php ファイルを作成します。雛形をコピーします。, (*5)

cd spongecake
cp app/config/core.development.php app/config/core.php

ビルトインサーバの起動

PHP 5.4以降であればビルトインWebサーバが以下のコマンドで使えるので、以下のコマンドを実行後、ブラウザで http://localhost:8080/default/index にアクセスできれば環境構築完了です。, (*6)

cd app/webroot

php -S localhost:8080 index.php

もちろん apache で app/webroot を docroot に指定しても利用する事ができます, (*7)

The Versions

06/09 2017
12/03 2015

dev-add-redirect-method

dev-add-redirect-method

dietcake sample

  Sources   Download

MIT

The Requires

 

The Development Requires

27/08 2014

dev-composer-install-doc

dev-composer-install-doc

dietcake sample

  Sources   Download

MIT

The Requires

 

The Development Requires

24/02 2014

v0.3.1

0.3.1.0

  Sources   Download

The Requires

 

The Development Requires