- Clone GitHub repo for this project locally
git clone https://github.com/risdatamamal/ustore.git ustore
- After Clone Github repo, cd into your project. And then Install Composer Dependencies and NPM Dependencies
composer install
composer update
npm install && npm run dev
- Create a copy of your .env file
cp .env.example .env
- Generate an app encryption key
php artisan key:generate
-
Create an empty database SQL for our application in MYSQL or PostgresSQL or anything about SQL
-
In the .env file, add database information to allow Laravel to connect to the database
In the .env file fill in the DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD options to match the credentials of the database you just created. This will allow us to run migrations and seed the database in the next step.
- Migrate the database
php artisan migrate