项目作者: WhatsMyCut

项目描述 :
Vagrant Laravel PHP Development Box
高级语言: Shell
项目地址: git://github.com/WhatsMyCut/wmcp-laravel.git
创建时间: 2019-07-18T05:31:19Z
项目社区:https://github.com/WhatsMyCut/wmcp-laravel

开源协议:

下载


wmcp-laravel

Vagrant Laravel PHP Development Box

See Vagrant Laravel Homestead Documentation for more information on the Laravel PHP framework.

Quick Start

Add the following to /etc/hosts:

  1. 192.168.10.10 wmcp-laravel.local

Start the vagrant box:

  1. vagrant up

Detailed information

This repo is a minimalized version of the Laravel Homestead Vagrant repo with only the Vagrantfile and scripts/ directories copied for initializtaion and NGnix configuration through the Homestead.yaml file.

The homestead-master.zip file is a .zip download of the Homestead project as of this writing.

To set up the project, unzip homestead-master.zip, copy the Vagrantfile and scripts/ directory to the project directory, then use PHP Composer (brew install composer if needed for MacOS) to generate the Homestead.yaml sample file:

  1. unzip homestead-master.zip
  2. cp homestead-master/Vagrantfile .
  3. cp -iRn homestead-master/scripts .
  4. brew install composer
  5. composer require laravel/homestead --dev
  6. vagrant up

Once the build process completes, test the site by navigating to:

  1. http://wmcp-laravel.local/phpinfo/