jyr / MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer
http://getmnpp.org
314 stars 49 forks source link

Simple instructions for use with Wordpress #34

Closed ianrobertdouglas closed 12 years ago

ianrobertdouglas commented 12 years ago

I don't know how to use this with Wordpress for local development. Can you guide me, or do instructions exist? Sounds like a great project, but it's under-documented for all but experts. Cheers.

jyr commented 12 years ago

I am working on some screencast, but could follow the next steps:

  1. Copy wordpress code to /Applications/MNPP/htdocs/
  2. Create a vhost, for example https://github.com/jyr/MNPP/blob/master/conf/nginx/sites-available/wordpress.local on /Applications/MNPP/conf/nginx/sites-available/
  3. Enable your vhost with ln -s ../sites-available/yourvhost.local .
  4. Add your hostname in /etc/hosts example: 127.0.0.1 yourvhost.local
  5. Restart MNPP.
  6. Go yourvhost.local on browser
  7. create a bd for wordpress go http://phpmyadmin.local/ user root without password
  8. Install wordpress
jyr commented 12 years ago

Done on http://blog.getmnpp.org/first-videos-stuff