axyr/silverstripe-cli-installer
Composer 安装命令:
composer require axyr/silverstripe-cli-installer
包简介
Silverstripe framework installer.
README 文档
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
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-05-14