Skip to content

Commit 8f60a04

Browse files
committed
プロビジョニング書き直し
1 parent caf2caa commit 8f60a04

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_size = 4
8+
indent_style = space
9+
trim_trailing_whitespace = true
10+
11+
[*.sh]
12+
indent_size = 2

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ CentOS7でLaravel5.5が動作する環境を構築します。
66

77
項目 | 値
88
--- | ---
9-
IP | 192.168.99.99
9+
IP | 192.168.33.99
1010
ドキュメントルート | /var/www/html
11-
URL | http://192.168.99.99
11+
URL | http://192.168.33.99
1212
マウント場所 | ./ <=> /var/www/html
1313
MySQLユーザー | vagrant
1414
MySQLパスワード | MySQL5.7
@@ -37,6 +37,7 @@ $ vagrant up
3737

3838
# リンク
3939

40-
- [Vagrant](https://www.vagrantup.com)
41-
- [VirtualBox](https://www.virtualbox.org)
42-
- [Macの初期設定参考リンク](https://github.com/ucan-lab/tips/issues/3)
40+
- [Vagrant&VirtualBoxインストール手順](https://github.com/ucan-lab/vagrant-laravel55/wiki/mac-vagrant-virtualbox-install)
41+
- [Laravel5.5をインストールする例](https://github.com/ucan-lab/vagrant-laravel55/wiki/laravel5.5-install-example)
42+
- [Laravelプロジェクトをgit cloneする例](https://github.com/ucan-lab/vagrant-laravel55/wiki/laravel-project-git-clone-example)
43+
- [エイリアス設定](https://github.com/ucan-lab/vagrant-laravel55/blob/master/provision/project/.bash_aliases)

Vagrantfile.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Vagrant.configure("2") do |config|
33
# box
44
config.vm.box = BOX_NAME
55
# ネットワーク
6-
config.vm.network :private_network, ip: "192.168.99.99"
6+
config.vm.network :private_network, ip: "192.168.33.99"
77
# プロビジョン
88
config.vm.provision :bootstrap, type: "shell", path: "provision/#{BOX_NAME}/bootstrap.sh" # rootユーザーで実行
99
config.vm.provision :bootstrap_default_user, type: "shell", path: "provision/#{BOX_NAME}/bootstrap_default_user.sh", privileged: false # vagrantユーザーで実行

index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
<?php
2-
phpinfo();
1+
<?php phpinfo();

0 commit comments

Comments
 (0)