Irish SEO,  Marketing & Webmaster Discussion

 

Do you have a local test environment?

This is a discussion on Do you have a local test environment? within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; Sparks, is Subversion useful for managing PHP projects? I have always just edited the files and occasionally saved back-ups but ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

View Poll Results: Do you have a local testing environment?

Yes 29 96.67%
No 1 3.33%
No comment 0 0%
Voters: 30. You may not vote on this poll

Reply

 

LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 31-01-2007, 06:08 PM
daviddoran's Avatar
Wannabe Geek
Recent Blog: iMSISS
 
Join Date: Aug 2006
Location: Meath, Ireland
Posts: 342
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
daviddoran will become famous soon enough
Default

Sparks, is Subversion useful for managing PHP projects?
I have always just edited the files and occasionally saved back-ups but I'd like to move away from that and have better versioning, would this be productive and easy enough to set up with subversion?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #22 (permalink)  
Old 01-02-2007, 06:14 AM
7aken's Avatar
Frontpage User
 
Join Date: Oct 2006
Posts: 23
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
7aken will become famous soon enough
Default

desktop
Apache 2.2.2, MySQL 5.0.22, PHP 5.1.4 on xp pro

laptop (windows partition)
wampserver xp pro
on linux (mandriva) partition i use lamp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #23 (permalink)  
Old 01-02-2007, 12:13 PM
Frontpage User
 
Join Date: Dec 2006
Posts: 27
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Sparks will become famous soon enough
Default

david, it's what we use here for PHP projects.
And it's what I use to keep my firefox bookmarks synced between machines, and as a /skeleton for my .cshrc and such files between different machines, and what I store my PhD thesis in, and where I'm doing the development of my hobby projects, and...
I think that makes the point


Yes, for what you're talking about, it's fine.
It works best if there's a server that you can run the subversion daemon on, especially if there's more than one of you working, but even if it's just local, it's still good. There's also a win32 svn client called TortiseSVN that's free and well-integrated, that's what I use on the win32 machines I have to use.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #24 (permalink)  
Old 01-02-2007, 05:47 PM
daviddoran's Avatar
Wannabe Geek
Recent Blog: iMSISS
 
Join Date: Aug 2006
Location: Meath, Ireland
Posts: 342
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
daviddoran will become famous soon enough
Default

Thanks Sparks, I spent a while yesterday and now have a local subversion and TortoiseSVN which seem to be working very nicely.

Though I actually find command line easier alot of the time, as I imagine alot of peope do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #25 (permalink)  
Old 12-02-2007, 04:01 PM
Frontpage User
 
Join Date: Feb 2007
Location: Dublin
Posts: 10
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Sidane will become famous soon enough
Default

Run all my sites locally for development/testing then upload to a staging server for client review and approval. Then deploy to the live server.

Local environment:
OS X / Apache 1.3 / PHP / MySQL / Ruby on Rails etc

Have been playing with Capistrano of late and it really makes deployment a sinch. Nifty little program.

Version control is an absolute must imo.

I've got subversion running off a crappy old 486 in my apartment, using my NTL connection and dyndns.org Not exactly the most elegant solution but means I can access all my files from anywhere with the various machines I use - be I in the office, at home, on the road - and all files are in sync.

I'm using SmartSVN for a GUI client.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #26 (permalink)  
Old 12-02-2007, 06:53 PM
Wannabe Geek
Recent Blog: M6 (England) Crash
 
Join Date: May 2006
Posts: 215
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
enzo will become famous soon enough
Send a message via Skype™ to enzo
Default

Quote:
Originally Posted by Sidane View Post
a crappy old 486 in my apartment, using my NTL connection and dyndns.org
Hmm, this looks interesting ... *scarpers off to check out dyndns*
__________________
CSS Templates
emcguinness.ie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #27 (permalink)  
Old 12-02-2007, 06:58 PM
Frontpage User
 
Join Date: Feb 2007
Location: Dublin
Posts: 10
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Sidane will become famous soon enough
Default

Need any help enzo, let me know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #28 (permalink)  
Old 12-02-2007, 07:02 PM
Wannabe Geek
Recent Blog: M6 (England) Crash
 
Join Date: May 2006
Posts: 215
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
enzo will become famous soon enough
Send a message via Skype™ to enzo
Default

Quote:
Originally Posted by Sidane View Post
Need any help enzo, let me know.
Thanks!
If I understand it correctly it should be handy enough, but i'll get back to you if I run into trouble.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #29 (permalink)  
Old 13-02-2007, 02:06 AM
Wannabe Geek
Recent Blog: M6 (England) Crash
 
Join Date: May 2006
Posts: 215
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
enzo will become famous soon enough
Send a message via Skype™ to enzo
Default

Just a question for you ... how secure is this?

I managed to set up it, although I had to do some pricking around with host files etc, so now the address resolves to my apache install homepage. What are the chances of someone being able to gain access to other areas of my PC?? (newbie question I know!)

Also, do you know if it's possible to get the url to resolve to a specific folder without changing the apache document root? (i'd still like to be able to access my apache homepage via //localhost for example)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #30 (permalink)  
Old 15-02-2007, 07:53 PM
Frontpage User
 
Join Date: Feb 2007
Location: Dublin
Posts: 10
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Sidane will become famous soon enough
Default

Hi Enzo,
Well it will be as secure or insecure as your apache configuration

If you haven't already, at the very least you'll want to password protect your repository - I'm using basic authentication which is sufficient for my needs, but you could go further and look into using SSL if you want to encrypt the connection.

Regarding using a specific subdirectory for your repository, while keeping your default apache homepage, I have the following location configuration in my apache config.

<Location /svn>
DAV svn
SVNPath /path/to/your/repository/
AuthType Basic
AuthName "Restricted Access"
AuthUserFile /path/to/your/password/file
Require valid-user
</Location>

So I access my repository from http://my.site.address/svn/
Note that that location configuration includes basic authentication. It's the first two lines that set the url to your repository.

Hope that helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
environment, local, test

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Local Weather Widget blacknight Forum Feedback, Development and Competitions 17 17-12-2006 05:20 PM
ID a Hosting environment EdenWeb Webmaster Discussion 13 11-11-2006 04:19 PM
Irish ISP Test - New look blacknight Site Reviews / Announcements 1 16-05-2006 09:55 AM
Provider Local Registry mowd Webmaster Discussion 1 14-04-2006 09:59 AM
Local Development Environment blacknight Webmaster Discussion 7 03-02-2006 11:55 AM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 11:43 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0