<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,7 +14,7 @@ cmsitem_table = Table(&quot;cms&quot;, meta.metadata,
         Column(&quot;site_id&quot;, Integer, default=1),
         Column(&quot;children_count&quot;, Integer,default=1),
         Column(&quot;created&quot;, DateTime,default=datetime.now),
-        Column(&quot;last_update&quot;,DateTime,default=datetime.now,onupdate=datetime.now()),
+        Column(&quot;last_update&quot;,DateTime,default=datetime.now,onupdate=datetime.now),
         Column(&quot;item_type&quot;, DBString(20), default='cms'),
         Column(&quot;title&quot;, DBString(120), nullable=False),
         Column(&quot;key&quot;, DBString(150), nullable=False),</diff>
      <filename>demisauce/trunk/demisauce/model/cms.py</filename>
    </modified>
    <modified>
      <diff>@@ -60,7 +60,7 @@ service_table = Table(&quot;service&quot;, meta.metadata,
         Column(&quot;app_id&quot;, Integer, ForeignKey('app.id')),
         Column(&quot;owner_id&quot;, Integer, ForeignKey('person.id')),
         Column(&quot;created&quot;, DateTime,default=datetime.now),
-        Column(&quot;last_update&quot;,DateTime,default=datetime.now,onupdate=datetime.now()),
+        Column(&quot;last_update&quot;,DateTime,default=datetime.now,onupdate=datetime.now),
         Column(&quot;cache_time&quot;, Integer, default=900),
         Column(&quot;list_public&quot;, Boolean, default=False),
         Column(&quot;format&quot;, DBString(30)),</diff>
      <filename>demisauce/trunk/demisauce/model/service.py</filename>
    </modified>
    <modified>
      <diff>@@ -43,7 +43,7 @@ Demisauce can be installed following these `instructions
     ], 
     url='http://demisauce.googlecode.com',
     install_requires=[&quot;Pylons==0.9.6.2&quot;,&quot;Routes==1.7.3&quot;, 'sqlalchemy==0.5.6',
-        'demisaucepy&gt;=0.0.2','tempita','simplejson', 
+        'demisaucepy&gt;=0.0.2','tempita','simplejson',&quot;memcache&quot;,
         'webhelpers==0.6'],
     packages=find_packages(exclude=['ez_setup']),
     include_package_data=True,</diff>
      <filename>demisauce/trunk/setup.py</filename>
    </modified>
    <modified>
      <diff>@@ -50,7 +50,7 @@ Demisauce can be installed with `Easy Install
     author_email='',
     url='http://github.com/araddon/demisauce',
     download_url='http://demisauce.googlecode.com/files/demisaucepy-0.1.1.tar.gz',
-    install_requires=[&quot;elementtree&gt;=1.1&quot;,&quot;nose&gt;=0.10.4&quot;],
+    install_requires=[&quot;elementtree&gt;=1.1&quot;,&quot;nose&gt;=0.10.4&quot;,&quot;memcache&quot;],
     license='MIT',
     packages=find_packages(exclude=['ez_setup', 'examples']),
     include_package_data=True,</diff>
      <filename>demisaucepy/trunk/setup.py</filename>
    </modified>
    <modified>
      <diff>@@ -64,8 +64,6 @@ vm107 = _server(base_config,{&quot;desc&quot;:&quot;VMware 107 Demisauce Server&quot;,&quot;host&quot;  : &quot;192
 ec2prod = _server(base_config,{&quot;desc&quot;:&quot;EC2 Prod 1&quot;,&quot;host&quot;  : &quot;aws.amazon.com&quot;,&quot;mailhostname&quot; : 'smtp.demisauce.org'})
 imac = _server(base_config,{&quot;desc&quot;:&quot;iMac Desktop Dev&quot;, &quot;os&quot;: &quot;osx&quot;, &quot;host&quot;  : &quot;localhost&quot;,&quot;user&quot;:&quot;aaron&quot;})
 
-#print &quot;\nvm106 = %s&quot; % vm106
-#print &quot;\nvm107 = %s&quot; % vm107
 &quot;&quot;&quot;{'mailhostname': 'localhost', 
     'show': None, 'key_filename': None, 'reject_unknown_hosts': False, 
     'project_name': 'demisauce', 'roledefs': {}, 'redis_version': 'redis-1.02', 
@@ -78,29 +76,8 @@ imac = _server(base_config,{&quot;desc&quot;:&quot;iMac Desktop Dev&quot;, &quot;os&quot;: &quot;osx&quot;, &quot;host&quot;  : &quot;l
     'host': '192.168.0.106', 'port': '22', 'user': 'demisauce', 'path': '/home/demisauce', 
     'password': 'xyz', 'rcfile': '/Users/aaron/.fabricrc', 'desc': 'VMware 106 Demisauce Server', 
     'roles': [], 'local_path': '/Users/aaron/Dropbox/demisauce', 'use_shell': True, 
-    'hosts': ['192.168.0.106'], 'mysql_root_pwd': 'demisauce', 'warn_only': False, 'os': 'ubuntu9.04'} &quot;&quot;&quot;
-
-def _vm106():
-    &quot;The dev VM linux machine&quot;
-    env.hosts = ['192.168.0.106']
-    env.user = 'demisauce'
-    env.path = '/home/demisauce' 
-    env.os = 'ubuntu9.04'
-    env.type = 'vm'
-    env.environment = 'dev'
-    env.mailhostname = 'demisauce106.localhost'
-
-def _vm107():
-    &quot;The dev VM linux machine&quot;
-    env.hosts = ['192.168.0.107']
-    env.user = 'demisauce'
-    env.path = '/home/demisauce' 
-    env.os = 'ubuntu9.04'
-    env.type = 'vm'
-    env.environment = 'prod'
-    env.mailhostname = 'demisauce107.localhost'
-
-
+    'hosts': ['192.168.0.106'], 'mysql_root_pwd': 'demisauce', 'warn_only': False, 'os': 'ubuntu9.04'} 
+&quot;&quot;&quot;
 # ===== Private Tasks ==========
 def _nginx_release():
     sudo(&quot;/etc/init.d/nginx stop&quot;)
@@ -200,13 +177,13 @@ def _linux_base():
     First you have installed base ubuntu and ssh, wget:
     sudo apt-get -y update; sudo apt-get -y install openssh-server wget
     &quot;&quot;&quot;
-    sudo(&quot;apt-get -y update; apt-get -y install wget unzip cron rsync python-setuptools python-dev&quot;)
+    sudo(&quot;apt-get -y update; apt-get -y install wget unzip cron rsync python-setuptools python-dev python-virtualenv&quot;)
     sudo(&quot;apt-get -y install build-essential git-core; apt-get -y update&quot;)
     sudo(&quot;easy_install -U pip&quot;)
 
 def _demisauce_pre_reqs():
     &quot;&quot;&quot;install python-mysqldb, gdata, boto(amazon api's)&quot;&quot;&quot;
-    sudo('apt-get -y install python-mysqldb')
+    sudo('apt-get -y install python-mysqldb python-memcache')
     sudo('easy_install http://gdata-python-client.googlecode.com/files/gdata.py-1.1.1.tar.gz')
     sudo('easy_install http://boto.googlecode.com/files/boto-1.8d.tar.gz')
 
@@ -230,6 +207,11 @@ def release(userdbpwd):
     
     sudo(&quot;/etc/init.d/nginx restart&quot;)
 
+def simple_push():
+    &quot;&quot;&quot;Simple release, just web sync&quot;&quot;&quot;
+    rsync_project('/home/demisauce/ds/current_web/',local_dir='%(local_path)s/demisauce/trunk' % env)
+    restart_web()
+
 def db_backup_apply():
     &quot;&quot;&quot;Apply a backup &quot;&quot;&quot;
     require(&quot;mysql_root_pwd&quot;)
@@ -276,3 +258,6 @@ def build_step2(rootmysqlpwd=&quot;demisauce&quot;,userdbpwd=&quot;demisauce&quot;):
     _demisauce_pre_reqs()
 
 
+
+
+</diff>
      <filename>install/fabfile.py</filename>
    </modified>
    <modified>
      <diff>@@ -48,13 +48,13 @@ isRunning(){
         fi
 }
 start() {
-        log_daemon_msg &quot;Starting $DESCRIPTION&quot;
         isRunning
         isAlive=$?
         if [ &quot;${isAlive}&quot; -eq $TRUE ]; then
             # ok, im using cron to keep running, so ignore this
             return 0
         else
+            log_daemon_msg &quot;Starting $DESCRIPTION&quot;
             paster serve --daemon --pid-file=$PIDFILE production.ini start
             chmod 400 $DEMISAUCE_HOME/$PIDFILE
             log_end_msg $SCRIPT_OK</diff>
      <filename>install/install_initd.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>21dfe1c1cfd66fffd7a65f9e971796b257bc4746</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Raddon</name>
    <email>araddon@yahoo.com</email>
  </author>
  <url>http://github.com/araddon/demisauce/commit/e1b237d642f0bbebf341f8cba85dce9f427e7b59</url>
  <id>e1b237d642f0bbebf341f8cba85dce9f427e7b59</id>
  <committed-date>2009-10-28T23:48:11-07:00</committed-date>
  <authored-date>2009-10-28T23:48:11-07:00</authored-date>
  <message>bug not writing correct date, adding virtual env to installer</message>
  <tree>5c0f37d650890928d9819ec9b9da96965cf6e4b7</tree>
  <committer>
    <name>Aaron Raddon</name>
    <email>araddon@yahoo.com</email>
  </committer>
</commit>
