Skip to content

Instantly share code, notes, and snippets.

@syossan27
Created June 3, 2014 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syossan27/0dc2db2fbc101209f8f9 to your computer and use it in GitHub Desktop.
Save syossan27/0dc2db2fbc101209f8f9 to your computer and use it in GitHub Desktop.
Laravel Homesteadを使ってみよう! ref: http://qiita.com/syo/items/0104615e5f9ae26f0720
vagrant box add laravel/homestead
git clone https://github.com/laravel/homestead.git Homestead
cd Homestead
vim Homestead.yaml
authorize: (公開鍵の場所)
keys:
- (秘密鍵の場所)
folders:
- map: (Laravelのプロジェクトの場所:例,/var/www/laravel)
to: /home/vagrant/Code
sites:
- map: homestead.app
to: /home/vagrant/Code/(publicディレクトリの場所:例,laravel/public)
127.0.0.1 homestead.app
mysql -u root -psecret
GRANT ALL ON *.* TO 追加したいユーザ名@localhost IDENTIFIED BY 'パスワード';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment