Howdy
The Mac folks want you to place your master "website" in a folder called Sites. It's a shared folder located in your home folder
Yourmacusername > Sites
If you have an index file in the Sites folder you'll see it In your browser if you type
http://127.0.0.1/~yourmacusername/index.html
(127.0.0.1 is the same as the phrase "localhost") so you can also type
http://localhost/~yourmacusername/index.html
You'll see your index.html page in the browser
This works as the Mac comes with server software built-in, it's called Apache.
If you need to run PHP and a SQL database, there is a different configuration... For now the above works! But, if you need help setting up PHP and SQL let me know...
On my Mac I use a program called Coda
I like Coda, as it can display the markup, the css and a preview, all at the same time.
It looks like this, Files on the left, the html next, a preview and a CSS editor on the right.
It would look much better, and less cluttered on a larger monitor... (one day I'll get the 27 inch iMac)
Here's a link on to how to setup Coda. It's from their developer user page...
You can try it out for free for a 30 day period. Panic, the publisher/authors are local, they live in Portland.
Here's the link
http://www.panic.com/coda/developer/
If you have any questions, send that e-mail!
No comments:
Post a Comment