Membership
Installation
Requirements
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 .
Installing using Composer
Setelah composer di install, jalankan perintah berikut di command prompt:
composer global require "fxp/composer-asset-plugin:~1.0.0"
composer install
Preparing application
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
Kontribusi
Silakan ikuti link berikut.
Progress Summary
Database design & Models
1.0 Initiation version - http://git.io/vq3Ta
- users
- profiles
- educations
- skills
- experiences
- portfolios
Pages / Area / Feature
- Page to show a member's basic profile (1.0 Initiation version - http://git.io/vq3Ta)