Differences between revisions 4 and 30 (spanning 26 versions)
Revision 4 as of 2008-07-03 12:54:02
Size: 1176
Editor: certik
Comment:
Revision 30 as of 2013-09-01 21:11:58
Size: 142
Editor: AvisMcclu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
How to setup FreeHg on your own server
======================================

Assuming you are using Debian unstable (it should be similar on other distributions).
{{{
sudo apt-get install -t experimental python-django
hg clone http://freehg.org/u/mmarshall/freehg/
cd freehg
cp default_settings.py settings.py
}}}
Apply the following patch:
{{{
--- default_settings.py 2008-06-15 11:41:43.658803990 +0200
+++ settings.py 2008-07-03 14:51:36.343034650 +0200
@@ -23,6 +23,8 @@
 # system time zone.
 TIME_ZONE = 'America/Chicago'
 
+REPO_PATH = "/tmp"
+
 # Language code for this installation. All choices can be found here:
 # http://www.i18nguy.com/unicode/language-identifiers.html
 LANGUAGE_CODE = 'en-us'
@@ -63,10 +65,13 @@
 
 ROOT_URLCONF = 'freehg.urls'
 
+import os
+
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
+ os.path.join(os.path.dirname(__file__), 'templates'),
 )
 
 INSTALLED_APPS = (
}}}
Test it locally
{{{
./manage.py runserver
}}}
To gather extra information on [[http://www.penomet.com/|penis enlargement]] kindly visit [[http://www.penomet.com/|http://www.penomet.com]]

To gather extra information on penis enlargement kindly visit http://www.penomet.com

HowToSetupFreeHg (last edited 2013-09-02 01:53:25 by KevinBot)