Skip to content

Instantly share code, notes, and snippets.

@ryaan-anthony
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save ryaan-anthony/c700ba5dc89e7fafcc1a to your computer and use it in GitHub Desktop.

Select an option

Save ryaan-anthony/c700ba5dc89e7fafcc1a to your computer and use it in GitHub Desktop.
Set up WordPress on OSX 10.10

Step 1 - Download WordPress.

download wordpress

curl -o wordpress.tar.gz https://wordpress.org/latest.tar.gz

extract intp Documents folder

tar -C ~/Documents -xzf wordpress.tar.gz

remove the tar file

rm wordpress.tar.gz

Step 2 - Make a new site.

make a new site directory (or use existing directory)

mkdir ~/Sites/newsite

add wordpress

cp -R ~/Documents/wordpress/* ~/Sites/newsite

and go to

http://localhost/~username/newsite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment