项目作者: mustafarefaey

项目描述 :
Laravel Octane demo: a demo app running on Octane server with Swoole using Sail
高级语言: PHP
项目地址: git://github.com/mustafarefaey/octane-demo.git
创建时间: 2021-06-16T16:34:19Z
项目社区:https://github.com/mustafarefaey/octane-demo

开源协议:

下载


Laravel Octane demo

Demo app running on Octane server with Swoole using Sail

Requirements

Docker and Docker Compose.

Installation

1.

  1. docker run --rm \
  2. -v $(pwd):/opt \
  3. -w /opt \
  4. laravelsail/php80-composer:latest \
  5. bash -c composer install

2.

  1. ./vendor/bin/sail build --no-cache

Usage

  1. ./vendor/bin/sail up -d
  • After the containers are up, Octane server will run automatically in watch mode so you can code and see that reflect in the browser.
  • Octane server will run on port 8000, so you can open your browser to http://localhost:8000