axyr/silverstripe-cli-installer

Silverstripe framework installer.

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/axyr/silverstripe-cli-installer

0.0.2 2016-05-17 21:58 UTC

This package is not auto-updated.

Last update: 2025-10-12 00:29:29 UTC


README

Painless command line installer for Silverstripe

Installation

Install composer (linux | osx)

$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

Install the installer

$ composer global require axyr/silverstripe-cli-installer 0.0.2

Make sure that ~/.composer/vendor/bin directory is in your PATH, so you can use the silverstripe command.

Usage

Move to the directory where you want to add a new Silverstripte project, and run the following command.

$ silverstripe new projectname

If you run this in for example /var/www/projects it will create a project /var/www/projects/projectname

The console will take you thru the required installation steps:

questions

Then you can run :

$ cd projectname && vendor/bin/phpunit mysite

questions