Skip to content

Latest commit

 

History

History
75 lines (65 loc) · 1.36 KB

README.md

File metadata and controls

75 lines (65 loc) · 1.36 KB

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