Hiya Paul,

On 19 May 2011 15:19, Paul Bennett <[email protected]> wrote:
> Dear Giant Brains,
>
> I'm a sole trader looking to build a dev business over the next few years.
> Currently I have a mix of contract / freelance work and have
> positioned myself pretty well in my chosen niche over the last 12
> months (well, I'm certainly busy enough anyway....).
>
> Companies I contract to usually have their own source control /
> deployment solutions (I've used CVS, SVN and GIT) which usually go
> something like this:
>
> checkout code from internal SC server (usually GIT or SVN)
> check in code
> deploy to dev / staging server (automated or manual depending upon company)
> promote to live server   (again automated or manual depending upon
> company / environment)
>
> Given how cheap cloud server space is, (and my lack of desire to be
> running my own local dev server) what are some recommendations for a
> sole trader / small company who wants to
>
> a) host repositories on a remote server

Its not very hard. We combined it with our dedicated "premium shared"
hosting server, but you could as well just have a server for your
repositories. Because all our work is custom, we have all projects in
one huge repository, unless there is a reason for the client to be
able to take the repository somewhere else (web based start up). Of
course you need backups, but its just the same as using someone else's
system and actually asking to see the backups.

> b) script / automate code-level deployment to either a staging and
> live environment or (for smaller projects) from a repository to a live
> environment

We deploy svn repositories as a working copy directly onto live
servers. For this we have written a simple php script that does just
svn update to a revision. I'm using this with some clients where they
also get rudimentary svn training and am considering to add svn
status, commit, remove, add to the script, so that software installed
directly on the server (I'm looking at my Joomla clients) can be
committed to the repository.

We deploy all database changes manually, apart from symfony where we
go svn update, symfony doctrine:migrate, symfony cc.

>
> Is something like beanstalk (http://www.beanstalkapp.com/ )  a good
> idea, or can I roll my own (I have rudimentary ssh / shell scripting
> skills) for less cost and with more options?

If you don;t have your own server, it probably is, if you do it
quickly becomes clear that you can save serious money by hosting svn
yourself.


HTH,


Kind Regards,

Jochen Daum

"There is no shortcut to anywhere worth going" - Beverly Sills

P.S.: Sign up to our newsletter (out 15 June): http://eepurl.com/dPXf-/

Automatem Ltd
Phone: 09 630 3425
Mobile: 021 567 853
Email: [email protected]
Website: www.automatem.co.nz
http://nz.linkedin.com/in/automatem
http://twitter.com/automatem
http://www.aucklandbusinessnetworking.co.nz


>
> Regards,
> Paul Bennett
> MoveForward - Web Development for Design Companies
> http://www.moveforward.co.nz
> 06 308 9722
> 027 255 8495
> @moveforwardconz
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
>

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to