Difference between revisions of "How to Test Run Files from your Local Host"

From ESE205 Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
# Follow the steps for installation.   
 
# Follow the steps for installation.   
 
# Open the XAMPP Control Panel.  
 
# Open the XAMPP Control Panel.  
# Hit “start” for Apache and MySQL and confirm that they are running.   
+
# Hit “start” for Apache and MySQL and confirm that they are running.  [[File:2017-04-29.png]]  [[File:2017-04-29 (1).png]]
 
 
 
# Save your files in the C:/XAMPP/htdocs folder.   
 
# Save your files in the C:/XAMPP/htdocs folder.   
 
# Navigate to your local host browser: http://localhost/.   
 
# Navigate to your local host browser: http://localhost/.   

Revision as of 04:43, 30 April 2017

For our project, one of the most helpful debugging tools for our code was testing the files on the web. In order to do this, we worked on our local host, which is the term used for the identification of your laptop with respect to the internet.

  1. Download XAMPP from https://www.apachefriends.org/index.html.
  2. Hit “yes” when prompted to continue with installation.
  3. Change User Account Control on your computer to “never notify.”
  4. Follow the steps for installation.
  5. Open the XAMPP Control Panel.
  6. Hit “start” for Apache and MySQL and confirm that they are running. 2017-04-29.png 2017-04-29 (1).png
  7. Save your files in the C:/XAMPP/htdocs folder.
  8. Navigate to your local host browser: http://localhost/.
  9. Add the name of your file behind the last “/” in the url, and this should open your file in your browser.