Closed iuloshi closed 10 years ago
I got down to "To test that PHP is now working..." but the test didn't work :(
That PHP test link isn't working for me either, but try opening a new window, typing http://localhost/~YOUR-LAPTOP-USERNAME/new-market-goods/index.html
into the address bar, then making a change locally and see if it's reflected there.
Also so dur, it just occurred to me that creating a local server is overkill for the NMG site, esp if you're just making content changes. You can just drag the NMG index.html
file into a browser window and you'll be able to see the local changes there too.
So what I tend to do is if I'm experimenting with small CSS tweaks like color and font size or plugging in new copy, then I use the browser's inspect element tool first, then preview locally & make sure erythang's kosher, then commit once I'm happy with the changes. It's still good practice to commit often, maybe once per batch of small changes for ease of code reviews and then you can easily revert small changes if necessary. Hopefully that's helpful!
Lookout, @ohsk has gone pro.
To have fewer commits in your pull requests!
Try this: http://ole.michelsen.dk/blog/setup-local-web-server-apache-php-macos-x-mavericks/
Then move all of your local project folders to the "Sites" folder. LMK if you run into any issues!