This projec is Coursework project for e-commerce course in HCMUE
- php 7.4
- php extension: pdo_mysql mbstring zip exif pcntl gd
- mysql 5.7
- PHP
# Macos
brew install [email protected]
# 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
- 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