/EcommerceHCMUE

This projec is Course projects for e-commerce course in HCMUE

Primary LanguageBlade

About Project

This projec is Coursework project for e-commerce course in HCMUE

Requirements

  • php 7.4
  • php extension: pdo_mysql mbstring zip exif pcntl gd
  • mysql 5.7

Development setup

  • PHP
# Macos
brew install php@7.4

# Ubuntu
sudo apt update
sudo apt -y install php7.4
sudo apt-get install -y php7.4-{curl,dom,exif,gd,mbstring,mysql,zip,gd}
  • Composer: Go to composer and follow steps to install composer

  • Mysql

# Ubuntu
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation

Installation

  • First simply clone this repo by using following command:
git clone https://github.com/vinhmai570/EcommerceHCMUE.git [your-directory]
  • Now navigate to the directory you cloned the repo into and run the following command
composer install
  • Create .env file
cp .env.example .env
  • Set application key
php artisan key:generate
  • Set your database credentials.

  • Migrate the databases:

php artisan migrate