A simple web board based on prob-framework
$ cp .htaccess.example .htaccess
$ cp config/site.php.example config/site.php
$ cp config/db.php.example config/db.php
$ cp app/Auth/config/config.php.example app/Auth/config/config.php
$ cp app/Auth/config/accounts.php.example app/Auth/config/accounts.php
.htaccess
RewriteBase ** YOUR_WEB_SITE_URL_PATH (ex: / or /prob) **
config/site.php
'url' => '/',
'publicPath' => '/public/',
config/db.php
'host' => 'localhost',
'port' => 3306,
'user' => 'username',
'password' => 'password',
'dbname' => 'dbname',
'charset' => 'utf8'
app/Auth/config/config.php
'defaultAllow' => true,
'defaultAccountManager' => 'FileBaseAccountManager',
'defaultLoginManager' => 'SessionLoginManager',
'defaultPermissionManager' => 'FileBasePermissionManager',
// ...
app/Auth/config/accounts.php
return [
// ...
'test' => [
'password' => 'test',
'role' => [ 'Member' ]
],
//*** Add YOUR ACCONUTS
];
$ mkdir data
$ mkdir data/attachment
Dependency package update (use Composer)
$ composer update
$ php ./vendor/doctrine/orm/bin/doctrine.php orm:schema-tool:create
$ php -S 127.0.0.1:8080 -t public/