firesphere/twistedbox-loader 问题修复 & 功能扩展

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

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

firesphere/twistedbox-loader

Composer 安装命令:

composer require firesphere/twistedbox-loader

包简介

CLI tool to quickly initiate a base TwistedBytes Vagrant box with SilverStripe

README 文档

README

This is a base installer for the Twisted Bytes Vagrant box plus SilverStripe.

It's a slightly customised version of the default installation.

It will install a base SilverStripe, or go with your existing git repository.

Assumed is a SilverStripe installation. It will set you up with a working system to continue developing.

Author

Simon Firesphere Erkelens

Requirements

  • Vagrant
  • Virtualbox provider (e.g. VirtualBox, VMWare, etc.)
  • Git
  • PHP 5.6 or higher

Installation

Download the vagrantrunner.phar file from the build directory to your root where you have your sites.

For example, if all your sites are located in users/sites, put the vagrantrunner.phar in that directory. Sites will be created in subdirectories of the .phar file's location.

Optionally, install the phar globally by copying it to /usr/local/bin/vagrantrunner, so you can kickstart a machine from anywhere.

Usage

To start a bare SilverStripe project

php vagrantrunner.phar init projectname

To start a project from existing Git sources

php vagrantrunner.phar init projectname git@github.com:yourProject.git

To destroy a box (to free up space)

php vagrantrunner.phar destroy projectname

This will not destroy your project files, only the Vagrant machine.

After running the init, your box is ready to go. The admin username and password are: admin:password. Since it's a local isolated machine, this is not a security issue immediately, but you are free to change it.

Versioning

As of version 1.0, all recent SilverStripe branches are pulled from the remote to give you the choice to install a specific branch.

Version 1.0 is the final release before implementation of box selection.

Suggested Vagrant plugins

Customisations

For testing purposes, we're not using the ini configuration that's in private. I suggest on live sites, you do. Running Behat from your host machine, causes issues because it can't read the ini correctly. Besides that, Behat requires root privileges. Therefore, the environment is hardcoded to root with empty password.

Todo

  • Clean up some code maybe
  • Add smoketests
  • Make a website for this project
  • Make the box not just Twisted Bytes, but give a selection of boxes?
  • Fix classmap
  • Cleanup the messy strings. They need to be in a separate helper

Suggestions

Yes, welcome.

cow?

Ofcourse!


               /( ,,,,, )\
              _\,;;;;;;;,/_
           .-"; ;;;;;;;;; ;"-.
           '.__/`_ / \ _`\__.'
              | (')| |(') |
              | .--' '--. |
              |/ o     o \|
              |           |
             / \ _..=.._ / \
            /:. '._____.'   \
           ;::'    / \      .;
           |     _|_ _|_   ::|
         .-|     '==o=='    '|-.
        /  |  . /       \    |  \
        |  | ::|         |   | .|
        |  (  ')         (.  )::|
        |: |   |;  U U  ;|:: | `|
        |' |   | \ U U / |'  |  |
        ##V|   |_/`"""`\_|   |V##
           ##V##         ##V##

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固