Commit 6af49dd8 authored by GI's avatar GI

Updated site.cfg

parent 38e93730
......@@ -16,7 +16,8 @@ author_office_phone: 412 268 8419
# Options only set in the production environment.
site_prefix: /~gautam/sj
path_prefix: sj
site_prefix: /~gautam/%(path_prefix)s
site_rurl: //%(site_host)s%(site_prefix)s
site_url: http:%(site_rurl)s
site_surl: https:%(site_rurl)s
......@@ -25,6 +26,7 @@ upload: rsync --checksum --delete -av out-prod/ qwe1:WWW/sj/
# Options only set in the local testing environment.
site_host: localhost:8000
site_rurl: //%(site_host)s
site_url: http:%(site_rurl)s%(site_prefix)s
#! /usr/bin/python
import os, sys
pwd = os.path.dirname(os.path.realpath(__file__))
sys.path.insert( 1, os.path.join( pwd, 'ext' ) )
import logging, coloredlogs
logger = logging.getLogger(__name__)
logger.addHandler(logging.StreamHandler())'Before installing colored logger')
coloredlogs.install( logger=logger, fmt='%(message)s')
logger.warn('After installing colored logger')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment