2017 © Pedro Peláez
 

library twistedbox-loader

image

firesphere/twistedbox-loader

  • Sunday, April 1, 2018
  • by Firesphere
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Twisted Bytes Vagrant

This is a base installer for the Twisted Bytes Vagrant box plus SilverStripe., (*1)

It's a slightly customised version of the default installation., (*2)

It will install a base SilverStripe, or go with your existing git repository., (*3)

Assumed is a SilverStripe installation. It will set you up with a working system to continue developing., (*4)

Author

Simon Firesphere Erkelens, (*5)

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., (*6)

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., (*7)

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

Usage

To start a bare SilverStripe project

php vagrantrunner.phar init projectname, (*9)

To start a project from existing Git sources

php vagrantrunner.phar init projectname git@github.com:yourProject.git, (*10)

To destroy a box (to free up space)

php vagrantrunner.phar destroy projectname, (*11)

This will not destroy your project files, only the Vagrant machine., (*12)

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., (*13)

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., (*14)

Version 1.0 is the final release before implementation of box selection., (*15)

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., (*16)

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., (*17)

cow?

Ofcourse!, (*18)


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

The Versions

01/04 2018

3.4

3.4.0.0

  Sources   Download

02/07 2016

dev-develop

dev-develop

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

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6

 

by Simon Erkelens

26/06 2016

dev-master

9999999-dev

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

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6

 

by Simon Erkelens

26/06 2016

1.0

1.0.0.0

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

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6

 

by Simon Erkelens

26/06 2016

dev-release/1.0

dev-release/1.0

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

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6

 

by Simon Erkelens

26/06 2016

dev-version/3.4

dev-version/3.4

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

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6

 

by Simon Erkelens