- Production: http://4room.tech
- Front-end: https://github.com/BuiChiTrung/4Room-FE
- Back-end: https://github.com/superkink3124/4Room-BE
- Docker: https://github.com/BuiChiTrung/4Room-Docker
- 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
Requirement: composer
, php7.4
, mysql
- Create file
.env
cp .env.example .env
- 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}"
- Install package.json (via
composer
)
composer install
- Generate key for Laravel project
php artisan key:generate
- Run following commands to use JWT-Auth lib
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
php artisan jwt:secret
- Create database and fake data
php artisan migrate:fresh --seed
- Create symbolic link
php artisan storage:link
- Run project (default port 8000)
php artisan serve