Created
June 15, 2017 17:02
-
-
Save emmanuelbarturen/9675d770c49dcf686d856051270b5e85 to your computer and use it in GitHub Desktop.
Install wordpress in homestead with composer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#in homestead | |
$ cd ~/Code | |
$ cd mkdir my-wordpress-project | |
$ cd my-wordpress-project | |
$ composer require johnpbloch/wordpress | |
# in homestead.yaml | |
sites: | |
- map: my-project.dev | |
to: /home/vagrant/Code/my-wordpress-project/wordpress | |
databases: | |
- project_db | |
# add virtual host | |
192.168.10.10 my-wordpress-project.dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment