Running Sites Locally
Revision as of 17:23, 9 January 2020 by Caitlin.Kelleher (talk | contribs) (Created page with "When working on your assignments, you will likely want to be able to test your submissions locally as you work. Python provides an easy way to do that. # Open a terminal wind...")
When working on your assignments, you will likely want to be able to test your submissions locally as you work. Python provides an easy way to do that.
- Open a terminal window or the terminal in your code editor.
- Navigate to your repository folder. This should be something like: cse256a-s20-<YOURWUSTLKEY>.
- Type in:
python -m http.server 8000.
This starts a local webserver from that directory.
- Navigate to your project. For the first project this would be: http://localhost:8000/information-foraging/files/index.html