定制 jelle-s/quickstart 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jelle-s/quickstart

最新稳定版本:1.4.0

Composer 安装命令:

composer require jelle-s/quickstart

包简介

Generates dns, apache and database for my personal LAMP setup

README 文档

README

This repository contains quickstart commands to have the basics for a website up and running with a single command.

Installation

composer require jelle-s/quickstart

Configuration

Following environment variables can/should be configured:

  • QUICKSTART_WEBSITES_DIR: The directory where your websites/projects live, defaults to getenv('HOME') . '/websites'
  • QUICKSTART_DATABASE_USER: The database user to use to create the other databases and users, defaults to 'root'
  • QUICKSTART_DATABASE_PASSWORD: The database password of the configured user above, defaults to ''
  • QUICKSTART_DATABASE_HOST: The database host, defaults to 'localhost'
  • QUICKSTART_DATABASE_DRIVER: The database driver to use, defaults to 'pdo_mysql', see https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html#driver

Commands

Create

vendor/bin/quickstart create [--dns --apache --database] myproject.local
Description:
  Create a database and dns and apache configuration for a domain.

Usage:
  create [options] [--] <domain>

Arguments:
  domain

Options:
      --dns             Add dns configuration to /etc/hosts
      --apache          Create an apache virtualhost
      --database        Create a database and database user

The database and database user is the domain name with . replaced by _.

Destroy

vendor/bin/quickstart destroy [--dns --apache --database] myproject.local
Description:
  Destroy a database and dns and apache configuration for a domain.

Usage:
  destroy [options] [--] <domain>

Arguments:
  domain

Options:
      --dns             Remove dns configuration from /etc/hosts
      --apache          Remove the apache virtualhost
      --database        Remove the database and database user

The database and database user is the domain name with . replaced by _.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固