[quote=“jonathan”]BestGreek, do you use any type of version control? If you don’t, I strongly recommend it. It sounds scary, and even pointless if you’re a one-man operation, but it really isn’t! It has changed the way I develop websites, and now I pretty much never use FTP software. Here is my process:
Development
- Setup GIT repository in Beanstalk (http://beanstalkapp.com/) for new website
- Develop new website locally (running on MAMP or WAMP server)
- Commit all code to Beanstalk as I go
- Test site locally
- Deploy, when ready, to production server using Beanstalk’s very handy deployment tools
Maintenance
- Make change locally
- Test change locally
- Commit change to Beanstalk
- Deploy change from Beanstalk to production server
Github is great too (and a little cheaper), but being new to version control I found Beanstalk a little more approachable. Also, their deployment tools are totally awesome - they make the transition from FTP a lot easier.
Finally, you can manage GIT using command line (lots of people do), but I have found Tower (http://www.git-tower.com/) to be more my style.
Hope that helps.
[/quote]
I totally agree its crazy to edit a live site. In my own case I am editing on a live server but its a development server. Once something is ready I do commit it (subversion) and then update the production server with “svn update”. I am on a mac and I have used MAMP but I didn’t like it. I prefer to build on the exact same system my code will run against. I think if I was going to go the route of local development I’d probably create a Vmware instance of Centos and mount that as a drive.
Also a lot of projects I do are just messing around and trying new things out and in those cases it dosen’t matter if its right on the server since its only for me.
I have tried bean stalk but I ended up just settings up my own svn server and using that. I haven’t had a project that used GIT yet but I do love github and I will probably find a reason to use git soon.
I’ll go take another look at MAMP incase its improved, but last time I used it the whole thing felt very clunky to me.
Thanks for the reply, its really interesting to hear how other developers do similar work.