axyr / silverstripe-cli-installer
Silverstripe framework installer.
0.0.2
2016-05-17 21:58 UTC
Requires
- symfony/console: ~2.3|~3.0
- symfony/process: ~2.3|~3.0
This package is not auto-updated.
Last update: 2024-11-23 20:09:51 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:
Then you can run :
$ cd projectname && vendor/bin/phpunit mysite