anmaslov / start-page
Simple start page
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=5.4.0
- 2amigos/yii2-editable-widget: ~1.0
- anmaslov/yii2-autocomplete-widget: *
- bower-asset/bootstra.386: *
- bower-asset/jgrowl: *
- bower-asset/jquery-ui: *
- miloschuman/yii2-highcharts-widget: dev-master
- pheme/yii2-settings: *
- thomaspark/bootswatch: *
- yiisoft/yii2: 2.0.11.*
- yiisoft/yii2-bootstrap: *
- yiisoft/yii2-swiftmailer: *
Requires (Dev)
This package is not auto-updated.
Last update: 2025-03-01 20:18:55 UTC
README
REQUIREMENTS
Minimum requirements - support the server version of PHP 5.4.0.
INSTALL
Install via Composer
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/
CONFIGURATION
Database
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.
Migration
Apply migration
.\yii migrate
Npm and Gulp
gulp css
Second mode
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