Setup Your Local Development Environment6:57 with Alena Holligan
Most developers prefer to build applications locally, on their own computers, rather than on hosted servers. Working locally allows you to work more quickly because you don’t have to wait for your changes to be saved to a remote server and you don’t have to worry about issues like internet connectivity.
Also check out MAC: Local Dev Environment.
Advanced Options for Free Version
DO NOT USE THESE DIRECTIONS IF YOU ARE USING THE PRO VERSION
Turn On Errors
1. With MAMP running, go to the following page in your browser http://localhost/MAMP/index.php?language=English&page=phpinfo * Note: if you are using a non standard ports, this link will need to include your port number like this http://localhost:**YOUR PORT NUMBER**/MAMP/index.php?language=English&page=phpinfo 2. Search for “php.ini”. You should see something like Loaded Configuration File: C:/MAMP/bin/php/php5.6.10/conf/php.ini 3. Open the corresponding file in a text editor 4. Search for the line that says “display_errors = Off” and change it to “display_errors = On” 5. Save the file and restart the MAMP servers
Change the password of the MySQL root user
Open the Command Prompt and enter the following command line:
C:/MAMP/Library/bin/mysqladmin -u root -p password [NewPassword]
replace [NewPassword] with your new password.
Please bear in mind that you also have to change the phpMyAdmin configuration and probably your own php scripts to use the newly created MySQL password. For changing the phpMyAdmin configuration edit the file C:/MAMP/bin/phpMyAdmin/config.inc.php and up
- Install Wordpress( and Multi-Site)
Create Virtual Hosts
This allows you to have multiple projects available at the same time
NOTE: File locations for Windows Users.
- C:/Windows/System32/drivers/etc/ (if this is not correct, do a google search for your particular version of windows)
You need to sign up for Treehouse in order to download course files.Sign up