How to setup local WordPress env

##How to Setup Local WordPress Env


##MAMP

  1. Install MAMP from https://www.mamp.info/en/
  2. get Apache port number. (preference -> ports)
  3. get Document Root. (preference -> web-server)
  4. Open Webstart page
  5. go to phpMyadmin (in Tools)
  6. click new on left sidebar. Create database name.
  7. Drag your WP file into DOC root folder (normally htdocs)
  8. go to your local apache port url
  9. get start!
  • Some problems and solution
    • Apache server does not work.
      • try different PHP version in MAMP setting.

##WP
Generally, When you drag clean new WP file into htdocs. Next time, when you open localhost, it will show you a link. Click the link will lead you to install WP.