Skip to content

Commit

Permalink
プロビジョニング書き直し
Browse files Browse the repository at this point in the history
  • Loading branch information
ucan-lab committed May 26, 2018
1 parent caf2caa commit 8f60a04
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.sh]
indent_size = 2
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ CentOS7でLaravel5.5が動作する環境を構築します。

項目 | 値
--- | ---
IP | 192.168.99.99
IP | 192.168.33.99
ドキュメントルート | /var/www/html
URL | http://192.168.99.99
URL | http://192.168.33.99
マウント場所 | ./ <=> /var/www/html
MySQLユーザー | vagrant
MySQLパスワード | MySQL5.7
Expand Down Expand Up @@ -37,6 +37,7 @@ $ vagrant up

# リンク

- [Vagrant](https://www.vagrantup.com)
- [VirtualBox](https://www.virtualbox.org)
- [Macの初期設定参考リンク](https://github.com/ucan-lab/tips/issues/3)
- [Vagrant&VirtualBoxインストール手順](https://github.com/ucan-lab/vagrant-laravel55/wiki/mac-vagrant-virtualbox-install)
- [Laravel5.5をインストールする例](https://github.com/ucan-lab/vagrant-laravel55/wiki/laravel5.5-install-example)
- [Laravelプロジェクトをgit cloneする例](https://github.com/ucan-lab/vagrant-laravel55/wiki/laravel-project-git-clone-example)
- [エイリアス設定](https://github.com/ucan-lab/vagrant-laravel55/blob/master/provision/project/.bash_aliases)
2 changes: 1 addition & 1 deletion Vagrantfile.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Vagrant.configure("2") do |config|
# box
config.vm.box = BOX_NAME
# ネットワーク
config.vm.network :private_network, ip: "192.168.99.99"
config.vm.network :private_network, ip: "192.168.33.99"
# プロビジョン
config.vm.provision :bootstrap, type: "shell", path: "provision/#{BOX_NAME}/bootstrap.sh" # rootユーザーで実行
config.vm.provision :bootstrap_default_user, type: "shell", path: "provision/#{BOX_NAME}/bootstrap_default_user.sh", privileged: false # vagrantユーザーで実行
Expand Down
3 changes: 1 addition & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
<?php
phpinfo();
<?php phpinfo();

0 comments on commit 8f60a04

Please sign in to comment.