このベースアプリはWebアプリケーション開発のひな形となる薄いサンプルアプリです。
- Slim2
- Twig
- Pimple
$ make install
- DB設定 ... アプリ用 (
src/config.php
) と マイグレーションツール用 (.dbup/properties.ini
)
$make mig-up
<Directory /var/www/GroupWorkBase/public_html>
Options Indexes FollowSymLinks +MultiViews
AllowOverride All
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</Directory>
$ make server
ホスト名、ポートを指定する場合
$ make server HOST=localhost PORT=9999
ブラウザで http://localhost:9999/ にアクセスすればOK
$ make testrunner
テストランナーは src/ と tests/ のファイル更新を監視し、ファイルが更新されると自動的にテストを実行するツールです
$ make fixer