/ustore

Online Store with Laravel 8 and Vue

Primary LanguagePHP

Welcome to UStore repository

Build Status Total Downloads Latest Stable Version License

How to Setup a Laravel Project You Cloned from Github.com

  1. Clone GitHub repo for this project locally
git clone https://github.com/risdatamamal/ustore.git ustore
  1. 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
  1. Create a copy of your .env file
cp .env.example .env
  1. Generate an app encryption key
php artisan key:generate
  1. Create an empty database SQL for our application in MYSQL or PostgresSQL or anything about SQL

  2. 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.
  1. Migrate the database
php artisan migrate