Coder Social home page Coder Social logo

sywooch / yii2shop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyanofresh/yii2shop

0.0 2.0 0.0 468 KB

e-commerce CMS built on Yii2 Advanced Application Template

Home Page: http://yii2shop.solomaha.me

License: MIT License

PHP 96.59% ApacheConf 0.54% CSS 2.20% JavaScript 0.03% Batchfile 0.63%

yii2shop's Introduction

Yii2Shop

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

FrontEnd Demo

BackEnd 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.

  1. Run command php init to initialize the application with a specific environment.
  2. Create a new database and adjust the components['db'] configuration in common/config/main-local.php accordingly.
  3. Apply migrations with console command yii migrate. This will create tables needed for the application to work.
  4. 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
  5. Set document roots of your Web server:
  • for frontend /path/to/yii2shop/frontend/web/ and using the URL http://yii2shop.com/
  • for backend /path/to/yii2shop/backend/web/ and using the URL http://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)

yii2shop's People

Contributors

cyanofresh avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.