how do you guys automate deployment?

2 views
Skip to first unread message

hsk

unread,
Aug 24, 2009, 6:36:58 PM8/24/09
to CNProg open discussion
I am wondering what's the good way to automate deployment? I am
currently doing it manually by zip/tarring, scp, copy and mv settings,
and apache reload. It's not really a hard work but it's a bit tad
cumbersome compared to letting development server do all the work and
occasional ctrl-c.

thanks!

HS

Evgeny

unread,
Aug 24, 2009, 6:53:41 PM8/24/09
to CNProg open discussion
if you have git on the server you can just use git clone (more
instructions are on the github and elsewhere)

settings_local.py is in the .gitignore file, so it won't be
overwritten.

you will still have to add local modifications manually at this point,
i.e. if you modify messages.
you'll have to replace logo, fill it about.html, privacy policy, maybe
faq.,
possibly modify footer and header templates with custom links.

later you can add modified files to your own .gitignore file and
things may get simpler.

perhaps logo paths and footer/header links could be eventually handled
via settings_local

Evgeny.

alex kessinger

unread,
Aug 24, 2009, 7:08:02 PM8/24/09
to cnp...@googlegroups.com
That is a good point, but you can do all that in git. I have a branch
that tracks what we might call the de-facto base. With all there stuff
in it, every once in a while I merge from there branch in to my
master, that way I can customize my stuff and still stay current.

hsk

unread,
Aug 24, 2009, 8:15:18 PM8/24/09
to CNProg open discussion
sounds like I need to spend some quality time with git!

Is Windows Git version worth using? (I am currently using windows
with notepad++ to fix/tweak&"develop" and ubuntu 8.04 to serve)
I have heard some horror stories about windows and git and wondering
if that's still true or not. (Anyone using windows version of git
extensively?)
cheers,

On Aug 24, 7:08 pm, alex kessinger <voidfi...@gmail.com> wrote:
> That is a good point, but you can do all that in git. I have a branch
> that tracks what we might call the de-facto base. With all there stuff
> in it, every once in a while I merge from there branch in to my
> master, that way I can customize my stuff and still stay current.
>
Reply all
Reply to author
Forward
0 new messages