I'm trying to get a dev environment set up and have got stuck.
I use Linux in the office and Windows at home. I simply wanted a basic LAMP stack to run craft on so I could develop locally. Given the two OSs, I figured I'd use Xampp.
I've installed Xampp on my Linux Mint PC. localhost seems to take me to htdocs, which I understand is normal? I've put Craft in htdocs, and then created a folder called public and put the index.php etc. in there.
So we have:
htdocs - craft - public - index.php
However, when I then do localhost/public/admin, I get Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /opt/lampp/htdocs/public/index.php
My craft path is set to ../craft (i.e. the default)
I've had a google, and there do seem to be similar questions, but mostly on Windows.
Should I move everything up a level? Or am I doing something else wrong?