Skip to content

Commit 8f25ccb

Browse files
committed
Merge branch '3.3.x'
2 parents 191f666 + ee3265f commit 8f25ccb

7 files changed

Lines changed: 21 additions & 69 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
/tests/tmp/*
4949
/tests/vendor
5050
/vagrant/phpbb-install-config.yml
51-
.vagrant
51+
/vagrant/.vagrant
52+
/vagrant/composer.lock
53+
/vagrant/vendor
5254
node_modules
5355
/build/package_signature
5456

phpBB/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"twig/twig": "^3.14"
6262
},
6363
"require-dev": {
64-
"laravel/homestead": "~15.0",
6564
"misantron/dbunit": "~5.0",
6665
"phing/phing": "~2.4",
6766
"phpunit/phpunit": "^10.0",

phpBB/composer.lock

Lines changed: 1 addition & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpBB/docs/vagrant.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22

33
phpBB includes support for Vagrant. This allows developers and contributors to run phpBB without the need to set up their own local web server with traditional WAMP/MAMP stacks. It also provides a consistent environment between developers for writing and debugging code changes more productively.
44

5-
phpBB uses the [Laravel/Homestead](https://laravel.com/docs/5.1/homestead) Vagrant box. It runs a Linux server with Ubuntu 14.04, PHP 5.6, Nginx, SQLite3, MySQL, and a whole lot more (complete specs below).
5+
phpBB uses the [Laravel/Homestead](https://laravel.com/docs/5.1/homestead) Vagrant box. It runs a Linux server with Ubuntu, PHP 7.2, Apache, SQLite3, MySQL, and a whole lot more (complete specs below).
66

77
## Get Started
88

99
* Download and Install [Vagrant](https://www.vagrantup.com/downloads.html)
1010
* Download and Install [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
11-
* Run `vagrant up` from the root of your cloned fork of the phpBB Git repository
11+
* Run `vagrant up` from the `vagrant` directory of your cloned fork of the phpBB Git repository
1212

1313
```sh
14+
$ cd vagrant
15+
$ ../composer.phar install
1416
$ vagrant up
1517
```
1618

@@ -91,11 +93,11 @@ $ mysql -uhomestead -psecret phpbb < /home/vagrant/phpbb/phpBB/store/phpbb.sql
9193

9294
### Included Software
9395

94-
* Ubuntu 14.04
96+
* Ubuntu
9597
* Git
96-
* PHP 5.6
98+
* PHP 7.2
9799
* HHVM
98-
* Nginx
100+
* Apache
99101
* MySQL
100102
* Sqlite3
101103
* Postgres

Vagrantfile renamed to vagrant/Vagrantfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ require 'json'
22
require 'yaml'
33

44
VAGRANTFILE_API_VERSION ||= "2"
5-
confDir = $confDir ||= File.expand_path("phpBB/vendor/laravel/homestead", File.dirname(__FILE__))
5+
confDir = $confDir ||= File.expand_path("vendor/svpernova09/homestead", File.dirname(__FILE__))
66

7-
homesteadYamlPath = "vagrant/bootstrap.yaml"
8-
afterScriptPath = "vagrant/after.sh"
9-
aliasesPath = "vagrant/aliases"
7+
homesteadYamlPath = "bootstrap.yaml"
8+
afterScriptPath = "after.sh"
9+
aliasesPath = "aliases"
1010

1111
require File.expand_path(confDir + '/scripts/homestead.rb')
1212

vagrant/bootstrap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keys:
1212
- ~/.ssh/id_rsa
1313

1414
folders:
15-
- map: "."
15+
- map: ".."
1616
to: "/home/vagrant/phpbb"
1717
sites:
1818
- map: phpbb.app

vagrant/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"svpernova09/homestead": "dev-main"
4+
}
5+
}

0 commit comments

Comments
 (0)