ABANDONED. MORE UPDATED HERE https://github.com/CyanoFresh/Solomashka.com
This is e-commerce application built on Yii2Shop.
The minimum requirement by this application template that your Web server supports PHP 5.4.0. Also required composer, git.
Run in the command line:
git clone https://github.com/CyanoFresh/solomashka.git shop
Go to the application dir and run:
composer install
to install dependencies and run:
php requirements.php
to check application requirements.
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.
- Run command
php init
to initialize the application with a specific environment. - Create a new database and adjust the
components['db']
configuration incommon/config/main-local.php
accordingly. - Apply migrations with console command
yii migrate
. This will create tables needed for the application to work. - Configure your application by editing config files:
⋅⋅*
common/config/main-local.php
⋅⋅*backend/config/main-local.php
⋅⋅*frontend/config/main-local.php
If there are not needed options in the*main-local.php
files you can copy them from*main.php
and overwrite in the*main-local.php
- Set document roots of your Web server:
- for frontend
/path/to/yii2shop/frontend/web/
and using the URLhttp://yii2shop.com/
- for backend
/path/to/yii2shop/backend/web/
and using the URLhttp://admin.yii2shop.com/
To login into the application, you need to use:
Username: admin
Password: admin
You can change it at the backend/config/params.php
(users
array)