Skip to content

Instantly share code, notes, and snippets.

@emmanuelbarturen
Created June 15, 2017 17:02
Show Gist options
  • Save emmanuelbarturen/9675d770c49dcf686d856051270b5e85 to your computer and use it in GitHub Desktop.
Save emmanuelbarturen/9675d770c49dcf686d856051270b5e85 to your computer and use it in GitHub Desktop.
Install wordpress in homestead with composer
#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