FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
phpbb/Vagrantfile at master · sayedafif/phpbb · GitHub
sayedafif
/
phpbb
Public
forked from
phpbb/phpbb
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
phpbb
/
Vagrantfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (19 loc) · 769 Bytes
Breadcrumbs
phpbb
/
Vagrantfile
Copy path
File metadata and controls
25 lines (19 loc) · 769 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require
'json'
require
'yaml'
VAGRANTFILE_API_VERSION
||=
"2"
confDir
=
$confDir ||=
File
.
expand_path
(
"phpBB/vendor/laravel/homestead"
,
File
.
dirname
(
__FILE__
)
)
homesteadYamlPath
=
"vagrant/bootstrap.yaml"
afterScriptPath
=
"vagrant/after.sh"
aliasesPath
=
"vagrant/aliases"
require
File
.
expand_path
(
confDir
+
'/scripts/homestead.rb'
)
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
if
File
.
exists?
aliasesPath
then
config
.
vm
.
provision
"file"
,
source
:
aliasesPath
,
destination
:
"~/.bash_aliases"
end
if
File
.
exists?
homesteadYamlPath
then
Homestead
.
configure
(
config
,
YAML
::
load
(
File
.
read
(
homesteadYamlPath
)
)
)
end
if
File
.
exists?
afterScriptPath
then
config
.
vm
.
provision
"shell"
,
path
:
afterScriptPath
end
end
Back
|
FazBrowse Home
|
New Git URL