Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.05 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.05 KB

SHAREE SALES

Installation

Ensure you have php and composer installed

First install the required dependencies

composer install

Then copy the .env.example file to .env

cp .env.example .env

And then run this command to generate the application key

php artisan key:generate

Database setup

Set up a mysql database and an account with privileges to use that database using phpMyAdmin or mysql-cli then set these values in your .env file

DB_DATABASE=<your database name>

DB_USERNAME=<DB username>

DB_PASSWORD=<DB password>

Note: Replace <your database name>, <DB username>, <DB password> with ones you created

Migration

Run this command to create the tables and seed the testing data

php artisan migrate:fresh --seed

Then run this to make the storage accessible

php artisan storage:link

Development Server

Now run this command to start the development server

php artisan serve

Then go to the address shown in your browser (e.g. http://127.0.0.1:8000)