Skip to content

Latest commit

 

History

History
53 lines (47 loc) · 1.44 KB

README.md

File metadata and controls

53 lines (47 loc) · 1.44 KB

Registruoju.lt website

Setting Up Project after cloning

Laravel projects requires extra setups before it can run on your local computers.

First we will install Node Module and Vendor files:

Run this in terminal:

npm i
composer install

Setup .env file

To setup your .env, kindly duplicate your .env.example file and rename the duplicated file to .env.

Setup Database

On your .env file, locate this block of code below.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=subnetweb
DB_USERNAME=Your DB name
DB_PASSWORD=Your DB pass

Final steps

To finish setup, enter commands one by one in the terminal:

php artisan key:generate
php artisan migrate
php artisan db:seed
npm run dev

To open project in the website you need to run:

php artisan serve

Login as admin:

Email => admin@exapmle.com
Password => adminpassword

Uploaded Pictures

To see uploaded pictures you need to run this:

php artisan storage:link



Project is in version 1.0