Minimum requirements - support the server version of PHP 5.4.0.
If you do not have Composer - you may install it by following the instructions at getcomposer.org.
You can then install this start-page using the following command
composer create-project --stability=dev anmaslov/start-page
Install gulp
Then need install all packages
npm install
After package install you need make css files:
gulp css
Now you should be able to access the application through the following URL, assuming basic is the directory directly under the Web root.
http://localhost/start-page/web/
Edit the file config/db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '1234',
'charset' => 'utf8',
];
NOTE: Yii won't create the database for you, this has to be done manually before you can access it.
Also check and edit the other files in the config/
directory to customize your application.
Apply migration
.\yii migrate
gulp css
git clone https://github.com/anmaslov/start-page.git
go to project folder
cd start-page
then run
composer install
yii init
Then configure database connection config/db.php
and apply all migration .\yii migrate