Skip to content

Creating the project

spiro-stathakis edited this page Sep 14, 2015 · 1 revision

Install composer, Yii and setup:

curl -sS https://getcomposer.org/installer | php 
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced projects
cd projects 
./init
[create MYSQL database and update commmon/main-local.php] 
./yii migrate
php -S localhost:8080 -t frontend/web 
php -S localhost:8081 -t backend/web 

Clone this wiki locally