Skip to content

superkink3124/4Room-BE

Repository files navigation

4Room

Docker installation

  1. Create file .env
cp .env.example .env
APP_NAME=4Room
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your_gmail
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

2 .Clone and follow instruction on FE, Docker repo

Normal installation

Requirement: composer, php7.4, mysql

  1. Create file .env
cp .env.example .env
  1. Config email in .env
APP_NAME=4Room
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your_gmail
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
  1. Install package.json (via composer)
composer install
  1. Generate key for Laravel project
php artisan key:generate
  1. Run following commands to use JWT-Auth lib
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
php artisan jwt:secret
  1. Create database and fake data
php artisan migrate:fresh --seed
  1. Create symbolic link
php artisan storage:link
  1. Run project (default port 8000)
php artisan serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages