Skip to content

Commit b95f702

Browse files
committed
Updated to use composer.
1 parent 1610fe4 commit b95f702

File tree

9 files changed

+107
-56
lines changed

9 files changed

+107
-56
lines changed

.beetbox/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.beetbox/config.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
.beetbox/
12
.vagrant/
23
docroot/
4+
vendor/
5+
Vagrantfile

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Simple Vagrant config to download and install the latest dev version of Drupal 8
44

55
## Requirements
66

7+
* [Composer](https://getcomposer.org/download/)
78
* [Vagrant](https://www.vagrantup.com/) >= 1.8
89
* [Virtualbox](https://www.virtualbox.org/)
910
* [Vagrant Hostsupdater](https://github.com/cogitatio/vagrant-hostsupdater)
@@ -14,10 +15,11 @@ Simple Vagrant config to download and install the latest dev version of Drupal 8
1415

1516
```
1617
git clone https://github.com/thom8/drupal8-vagrant.git drupal8-vagrant && cd $_
18+
composer install
1719
vagrant up
1820
```
1921

20-
2. Go to http://d8.ddns.net/
22+
2. Go to http://d8.local/
2123

2224
```
2325
username: admin

Vagrantfile

Lines changed: 0 additions & 25 deletions
This file was deleted.

composer.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "thom8/drupal8-vagrant",
3+
"description": "",
4+
"type": "project",
5+
"license": "MIT",
6+
"minimum-stability": "dev",
7+
"require-dev": {
8+
"beet/box": "dev-master"
9+
},
10+
"scripts": {
11+
"up": "vagrant up",
12+
"provision": "vagrant provision",
13+
"reset": [
14+
"vagrant ssh -c 'drush --root=/var/beetbox/docroot sql-drop -y'",
15+
"@provision"
16+
],
17+
"reset-full": [
18+
"vagrant ssh -c '[ ! -d /var/beetbox/docroot ] && sudo chmod -R 755 /var/beetbox/docroot && rm -rf /var/beetbox/docroot'",
19+
"@provision"
20+
]
21+
},
22+
"process-timout": 0,
23+
"extra": {
24+
"beetbox": {
25+
"config": {
26+
"vagrant_ip": "192.168.88.88",
27+
"beet_domain": "d8.local",
28+
"beet_root": "{{ beet_base }}/docroot",
29+
"beet_site_name": "Drupal 8 Sprint Box",
30+
"drupal_create_makefile": true,
31+
"drupal_make_working_copy": true,
32+
"drupal_build_makefile": true,
33+
"drupal_install_site": true,
34+
"drupal_account_name": "admin",
35+
"drupal_account_pass": "admin",
36+
"php_memory_limit": "284M"
37+
}
38+
}
39+
}
40+
}

composer.lock

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reset-full.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

reset.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)