Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opdavies/drupal-vm-cli
A CLI app for Drupal VM.
https://github.com/opdavies/drupal-vm-cli
Last synced: about 2 months ago
JSON representation
A CLI app for Drupal VM.
- Host: GitHub
- URL: https://github.com/opdavies/drupal-vm-cli
- Owner: opdavies
- License: mit
- Archived: true
- Created: 2016-01-20T22:37:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-01T18:42:42.000Z (about 7 years ago)
- Last Synced: 2024-07-21T05:37:08.401Z (2 months ago)
- Language: PHP
- Homepage: https://packagist.org/packages/opdavies/drupal-vm-cli
- Size: 226 KB
- Stars: 43
- Watchers: 6
- Forks: 6
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal VM CLI
[![Latest Stable Version](https://poser.pugx.org/opdavies/drupal-vm-cli/v/stable)](https://packagist.org/packages/opdavies/drupal-vm-cli) [![License](https://poser.pugx.org/opdavies/drupal-vm-cli/license)](https://packagist.org/packages/opdavies/drupal-vm-cli) [![Build Status](https://travis-ci.org/opdavies/drupal-vm-cli.svg?branch=master)](https://travis-ci.org/opdavies/drupal-vm-cli)
A [Symfony Console](http://symfony.com/doc/current/components/console/introduction.html) application that manages and customises configuration files for [Drupal VM](http://www.drupalvm.com) projects.
## Installation
See https://github.com/opdavies/drupal-vm-cli/wiki/Installation.
## Usage
With the `drupalvm` command installed, you can now run it to generate your configuration file.
Each variable configurable with the application has an option that you can set when running the command.
Here is an example with all of the options set beforehand:
```
drupalvm config:generate \
--hostname=example.com \
--machine-name=example \
--ip-address=192.168.88.88 \
--cpus=1 \
--memory=512 \
--webserver=nginx \
--path=../site \
--destination=/var/www/site \
--docroot=/var/www/site/drupal \
--drupal-version=8 \
--database-name=drupal \
--database-user=drupal \
--database-password=drupal \
--build-makefile=no \
--install-site=true \
--installed-extras=xdebug,xhprof \
--overwrite
```If an option is not set, you will be asked a question instead to collect the value.
## Author
[Oliver Davies](https://www.oliverdavies.uk) - PHP Developer & Linux System Administrator
## Contributing
I’m happy to receive support and feature requests, bug reports, and [pull requests](https://help.github.com/articles/creating-a-pull-request) torwards this project.
All bug reports and feature and support requests should be logged in the [issue tracker](https://github.com/opdavies/drupal-vm-cli/issues).
Please run `drupalvm --version` and include the version number with any bug report or support request.
All pull requests should be from a topic branch in your forked repository, merging back into `master`.