Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 2.08 KB

README.md

File metadata and controls

63 lines (40 loc) · 2.08 KB

Online Shopping App

Used PHP Yii2 Framework. Yii 2 is a modern framework designed to be a solid foundation for your PHP application. The Project includes two tiers: front end, back end ,each of which is a separate Yii application.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


Database

Database file is included in the Project named "yii2advancedLast.sql". change it to yii2advanced.sql

REQUIREMENTS

The minimum requirement by this application template that your Web server supports PHP 5.4.0.

Installing

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org. You can then install the application using the following command: 1- git clone https://github.com/binhudakhalid/OnlineShoppingApp.git App 2- composer self-update composer global require "fxp/composer-asset-plugin:~1.1.1" 3- cd App 4- composer install

Getting Started

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

Screen Shots

Backend Backend

Frontend Frontend

License This work is licensed under a Creative Commons Attribution 4.0 International License.