Untuk mengetahui ketersediaan dukungan php dan setting webserver, jalankan perintah berikut di command prompt
php requirements.php
Pastikan PDO PostgreSQL extension dengan status OK, Jika masih warning dapat mengaktifkan extension PDO PostgreSQL melalui file php.ini .
Setelah composer di install, jalankan perintah berikut di command prompt:
composer global require "fxp/composer-asset-plugin:~1.0.0"
composer install
After you install the application, you have to conduct the following steps to initialize the installed application. You only need to do these once for all.
-
Execute the
init
command and selectdev
as environment.php /path/to/yii-application/init
Otherwise, in production execute
init
in non-interactive mode.php /path/to/yii-application/init --env=Production --overwrite=All
-
Create a new database and adjust the
components['db']
configuration incommon/config/main-local.php
accordingly.'db' => [ 'class' => 'yii\db\Connection', 'dsn' => 'pgsql:host=localhost;port=5432;dbname=membership', 'username' => 'postgres', 'password' => 'password', 'charset' => 'utf8', ],
Nama database, username dan password disesuaikan saja dengan settingan di lokal komputer masing-masing.
-
Jalankan console command
yii migrate
. -
Set document roots of your web server:
Lihat di : https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md
1.0 Initiation version - http://git.io/vq3Ta
- users
- profiles
- educations
- skills
- experiences
- portfolios
- Page to show a member's basic profile (1.0 Initiation version - http://git.io/vq3Ta)