Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Julien Rotundo
10,018 PointsHow do I set up the simple web server on a mac?
The teacher notes say to navigate to a directory and enter this
python -m SimpleHTTPServer 8000
Do I have to do this with terminal?
1 Answer

Rich Zimmerman
24,062 PointsYes, you will do this in a terminal on your computer, if you're coding outside of workspaces. This then creates a local webserver for you to go to your webpage.
If you're running a webserver on your local machine, you can use the web address "localhost:8000" where "8000" is the port number you specify in the command "python -m SimpleHTTPServer 8000"
Julien Rotundo
10,018 PointsJulien Rotundo
10,018 PointsThanks!