Помнится, вместо Acquia Dev Desktop решил ликвидировать свои виртуальные комплексы... Итак, установил Vagrant, VirtualBox... и стало ясно, что влип основательно... что с ними двумя делать..., а там еще целый стек... Интересно, конечно, но для начала хотя бы определить, как эту "стопку" складывать.
Neato in Drupal 8 Getting Started with Neato in Drupal 8
Neato Drupal theme
refills Components and patterns built with Bourbon. Neat - A lightweight semantic grid framework for Sass and Bourbon.
Composer template for Drupal projects
Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache. Drush can be extended by 3rd party commandfiles.
This project template should provide a kickstart for managing your site dependencies with Composer.
If you want to know how to use it as replacement for Drush Make visit the Documentation on drupal.org.
Welcome to Drupal VM's documentation site! Please read through the Quick Start Guide to get started, and then browse the rest of this project's documentation in the sidebar.
VirtualBox
Quick Start Guide Drupal VM is A VM for local Drupal development, built with Vagrant + Ansible.
This project aims to make spinning up a simple local Drupal test/development environment incredibly quick and easy, and to introduce new developers to the wonderful world of Drupal development on local virtual machines (instead of crufty old MAMP/WAMP-based development).
Vagrant is a tool for building complete development environments. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development/production parity, and makes the "works on my machine" excuse a relic of the past.
A VM for local Drupal development, built with Vagrant + Ansible ... (instead of crufty old MAMP/WAMP-based development).
Acquia Dev Desktop allows you to install, test, and build Drupal sites locally on your Mac or Windows PC and optionally host them on either Acquia Cloud or the Acquia Cloud Free developer sandbox. Easily push or pull to synchronize your local site's code, database, or files with any Acquia Cloud environment.
Console2Console2 - A Better Windows Command Prompt
Chocolatey *@powershell... NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind.
Читаем A VM for local Drupal development1 - Install Vagrant и пытаемся понять, что здесь для чего¶
C:\Users\alter_000>cd "C:\HashiCorp\Vagrant\bin"
C:\HashiCorp\Vagrant\bin>vagrant.exe
Usage: vagrant [options] <command> [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
Common commands:
box manages boxes: installation, removal, etc.
connect connect to a remotely shared Vagrant environment
destroy stops and deletes all traces of the vagrant machine
global-status outputs status Vagrant environments for this user
halt stops the vagrant machine
help shows the help for a subcommand
init initializes a new Vagrant environment by creating a Vagrantfile
login log in to HashiCorp's Atlas
package packages a running vagrant environment into a box
plugin manages plugins: install, uninstall, update, etc.
port displays information about guest port mappings
powershell connects to machine via powershell remoting
provision provisions the vagrant machine
push deploys code in this environment to a configured destination
rdp connects to machine via RDP
reload restarts vagrant machine, loads new Vagrantfile configuration
resume resume a suspended vagrant machine
share share your Vagrant environment with anyone in the world
snapshot manages snapshots: saving, restoring, etc.
ssh connects to machine via SSH
ssh-config outputs OpenSSH valid configuration to connect to the machine
status outputs status of the vagrant machine
suspend suspends the machine
up starts and provisions the vagrant environment
version prints current and latest Vagrant version
For help on any individual command run `vagrant COMMAND -h`
Additional subcommands are available, but are either more advanced
or not commonly used. To see all subcommands, run the command
`vagrant list-commands`.
C:\HashiCorp\Vagrant\bin>
Итак, установил Vagrant, VirtualBox... Уже непонятно, что с ними двумя делать..., а там еще целый стек... Интересно, конечно, но для начала хотя бы определить, как эту "стопку" складывать.
Попытка понять, как это работает из хелпера привела в уныние, потому нашел короткое видео. Дальше действия оттуда.
Drupal VM - Quick Introduction¶
F:\drupal\drupal-vm-master>dir
Том в устройстве F имеет метку MYLINUXLIVE
Серийный номер тома: CE7F-8134
Содержимое папки F:\drupal\drupal-vm-master
26.03.2016 15:05 <DIR> .
26.03.2016 15:05 <DIR> ..
24.03.2016 20:35 206 .gitignore
24.03.2016 20:35 4 251 .travis.yml
24.03.2016 20:35 1 080 LICENSE
24.03.2016 20:35 8 783 README.md
24.03.2016 20:35 5 614 Vagrantfile
24.03.2016 20:35 <DIR> docs
24.03.2016 20:35 8 449 example.config.yml
24.03.2016 20:35 436 example.drupal.make.yml
24.03.2016 20:35 <DIR> examples
24.03.2016 20:35 1 889 mkdocs.yml
24.03.2016 20:35 <DIR> provisioning
24.03.2016 20:35 <DIR> tests
8 файлов 30 708 байт
6 папок 3 022 094 336 байт свободно
F:\drupal\drupal-vm-master>
Переименовываем
example.config.yml --> config.yml
example.drupal.make.yml --> drupal.make.yml
Запускаем стройку виртуального окружения из директории с дистрибутивом ...и ждем, вот первые результаты:
F:\drupal\drupal-vm-master>vagrant up
Bringing machine 'drupalvm' up with 'virtualbox' provider...
==> drupalvm: Box 'geerlingguy/ubuntu1404' could not be found. Attempting to find and install...
drupalvm: Box Provider: virtualbox
drupalvm: Box Version: >= 0
==> drupalvm: Loading metadata for box 'geerlingguy/ubuntu1404'
drupalvm: URL: https://atlas.hashicorp.com/geerlingguy/ubuntu1404
==> drupalvm: Adding box 'geerlingguy/ubuntu1404' (v1.1.0) for provider: virtualbox
drupalvm: Downloading: https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1404/versions/1.1.0/provi
ders/virtualbox.box
drupalvm: Progress: 13% (Rate: 1835k/s, Estimated time remaining: 0:04:27)
А дальше, как и предполагал, в выдаче консоли данных слишком много..., какие-то предупреждения выскакивают... А я не знаю, логируется ли это где нибудь?
Приложение. Команды vagrant¶
F:\drupal\drupal-vm-master>vagrant help
Usage: vagrant [options] <command> [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
Common commands:
box manages boxes: installation, removal, etc.
connect connect to a remotely shared Vagrant environment
destroy stops and deletes all traces of the vagrant machine
global-status outputs status Vagrant environments for this user
halt stops the vagrant machine
help shows the help for a subcommand
init initializes a new Vagrant environment by creating a Vagrantfile
login log in to HashiCorp's Atlas
package packages a running vagrant environment into a box
plugin manages plugins: install, uninstall, update, etc.
port displays information about guest port mappings
powershell connects to machine via powershell remoting
provision provisions the vagrant machine
push deploys code in this environment to a configured destination
rdp connects to machine via RDP
reload restarts vagrant machine, loads new Vagrantfile configuration
resume resume a suspended vagrant machine
share share your Vagrant environment with anyone in the world
snapshot manages snapshots: saving, restoring, etc.
ssh connects to machine via SSH
ssh-config outputs OpenSSH valid configuration to connect to the machine
status outputs status of the vagrant machine
suspend suspends the machine
up starts and provisions the vagrant environment
version prints current and latest Vagrant version
For help on any individual command run `vagrant COMMAND -h`
Additional subcommands are available, but are either more advanced
or not commonly used. To see all subcommands, run the command
`vagrant list-commands`.
F:\drupal\drupal-vm-master>
Посты чуть ниже также могут вас заинтересовать
Комментариев нет:
Отправить комментарий