cyanofresh/yii2shop
Composer 安装命令:
composer create-project cyanofresh/yii2shop
包简介
Online Shop on Yii2
README 文档
README
This is e-commerce application built on Yii2. It is not full e-commerce - it is showcase
This project has been temporary stopped. For actual code see app built on this shop
FEATURES
Because it's only e-commerce showcase - only several features available:
- Admin Panel - Backend
- Home page with latest products
- Catalog with sorting and product preview
- Categories support
- SEO-friendly URLs (with slugs like domain.com/categoryname/productname)
- Special statuses for products (example: In stock, Discount, etc.)
- Image gallery in product view
- And a lot of! See demo for more details, maybe I forget something
DEMO
Login: admin
Password: admin
Please don't clear shop content ^)
REQUIREMENTS
The minimum requirement by this application template that your Web server supports PHP 5.4.0.
INSTALLATION
Run in the command line:
git clone https://github.com/CyanoFresh/yii2shop.git yii2shop
Go to the application dir and run:
php requirements.php
to check application requirements and run:
composer install
to install dependencies.
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 initto initialize the application with a specific environment. - Create a new database and adjust the
components['db']configuration incommon/config/main-local.phpaccordingly. - 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.phpIf there are not needed options in the*main-local.phpfiles you can copy them from*main.phpand 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)
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-04-06