Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 845 Bytes

README.md

File metadata and controls

68 lines (45 loc) · 845 Bytes

Mini Reddit

Mini Reddit Application Built w/ Laravel.

Installation

Clone the project using SSH or HTTPS.

[email protected]:yuvraj-timalsina/mini-reddit.git

Run Locally

Go to the Project Directory

cd mini-reddit

Create .env in root directory

cp .env.example .env

Create and Configure the Database

sudo mysql -u <username> -p
create database mini_reddit;

Add Database credentials in .env

DB_DATABASE=mini_reddit
DB_USERNAME=<username>
DB_PASSWORD=<password>

Install Dependencies

composer install

Generate Application Key

php artisan key:generate

Run the Database Migrations

php artisan migrate

Run the Server

php artisan serve

Author