loganhenson/raft 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

loganhenson/raft

Composer 安装命令:

composer require loganhenson/raft

包简介

Local Development Dream -- Raft

README 文档

README

This is a full Laravel local development experience (opinionated) which comes with:

  • Php 7.1
  • Node 7.5
  • Yarn
  • Queue
  • Redis
  • MariaDB

This can be compared to:

  • Laravel Homestead (Straight VMs) vs Raft (Single proxy VM + Docker containers)
  • Laravel Valet (Local Nginx proxy + local database etc.) vs Raft (All containers)

Installation

First ensure you have the system dependencies.

Now install and start Dinghy

brew tap codekitchen/dinghy
brew install dinghy
dinghy create --provider virtualbox

Next install the package through Composer.

{
  "require": {
		"loganhenson/raft": "~1.0"
	}
}

And add the service provider to your application.

config/app.php

...
'providers' => [
    '...',
    LoganHenson\Raft\RaftServiceProvider::class
];
...

Usage

Up

php artisan raft:up

Up with SSL

php artisan raft:up --secure

Down

php artisan raft:down

Sequel Pro

php artisan raft:sql

Running commands in your containers

Composer

docker exec raft_app_1 composer

Yarn

docker exec raft_app_1 yarn

Connecting to your containers

App

docker exec -it raft_app_1 bash

Redis

docker exec -it raft_redis_1 bash

MariaDB

docker exec -it raft_database_1 bash

Queue

docker exec -it raft_queue_1 bash

View the site @ http://raft.docker or https://raft.docker

FAQ

Q: It isn't working!

  • A: Make sure docker is running (check your toolbar), as well as the dinghy vm dinghy restart

Q: Chrome always puts my site on https!

  • A: Go to chrome://net-internals/#hsts and put raft.docker in the "Delete Domain" input and press delete

Q: How do I add more/different containers??

  • A: Fork (:

License

View the license for this repo.

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固