About Archive Tag Cloud Translations RSS

You are writing a comment about The Django and Ubuntu Intrepid Almanac, here is a quick summary:

This heavy tome of wisdom will guide you, keystroke by keystroke, through configuring a mod_wsgi, Postgres, memcached, Django server on Ubuntu Intrepid. Written for a complete command line beginner, but hopefully useful to everyone (I know I'll have to refer to it to remember how to add additional domains to my server as well ;).


You are responding to this comment written by Damien on February 14th 2009, 21:21.

Hi,

About git, you should create a bare repository instead (git init|clone --bare) and have an other one for your deployed project. You something edit directly the files on your server and pushing some commit might make you lose your edits.

http://gitready.com/advanced/2009/02/01/push-to-only-bare-repositories.html

If you want to deploy your code using git, you can create a branch for you server, more stable than the master branch, and use a git hook (on your bare repository that you push to) to trigger the deployment of new code.

Thank for tutorial.


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")