承接 ankitjain28may/larahost 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ankitjain28may/larahost

Composer 安装命令:

composer require ankitjain28may/larahost

包简介

Create a Virtualhost in nginx during laravel project creation

README 文档

README

Build Status Latest Stable Version Packagist

Larahost is the extended plugin written over the laravel/installer plugin to set up the nginx virtualhost for the application automatically while installing.

Installation

It requires nginx to be installed in the system.

  1. First, download the Larahost installer using Composer:

        composer global require ankitjain28may/larahost
  2. Download the nginx configuration and put it in the nginx virtualhosts folder according to OS. Make necessary changes in the file related to port and PHP FastCGI configuration.

    For example- It is /usr/local/etc/nginx/servers/ for Mac.

        cd /usr/local/etc/nginx/servers/
        curl https://raw.githubusercontent.com/ankitjain28may/larahost/master/nginx_conf/example.conf -O
  3. Export these variables in $PATH.

        export NGINX_EXAMPLE_FILE='/usr/local/etc/nginx/servers/example.conf'
        export NGINX_DEST='/usr/local/etc/nginx/servers/'
  4. Once everything is setup, the larahost new command will create a fresh Laravel installation in the directory you specify.

        larahost new blog

Contribute

Feel free to contribute

License

Copyright (c) 2019 Ankit Jain - Released under the MIT License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固