moksha/websetup.py | 6 ++++++
start-moksha | 1 +
2 files changed, 7 insertions(+)
New commits:
commit 0feb6b20cfc09ae89adc74e62998e6682226c80c
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 19:59:38 2010 -0500
Require the latest Beaker... we really need to do this properly in the setup.py
diff --git a/start-moksha b/start-moksha
index b7dad19..ced4812 100755
--- a/start-moksha
+++ b/start-moksha
@@ -26,6 +26,7 @@ if [ ! $VIRTUAL_ENV ]; then
easy_install tw.jquery==dev
easy_install -U SQLAlchemy
easy_install -U FormEncode
+ easy_install -U Beaker
# `install` instead of `develop` to avoid weird directory vs. egg
# namespace issues
commit fb71b4413449b7851fcbc932c3c345f8acd7e543
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 19:58:47 2010 -0500
Disable our fact/entity creation in the websetup, for now
diff --git a/moksha/websetup.py b/moksha/websetup.py
index b427f55..5c5f473 100644
--- a/moksha/websetup.py
+++ b/moksha/websetup.py
@@ -66,5 +66,11 @@ def setup_config(command, filename, section, vars):
model.DBSession.add(u1)
model.DBSession.flush()
+ # Create some knowledge
+ #from moksha.apps.knowledge.model import Entity
+ #snake = Entity(u'Python')
+ #snake[u'type'] = 'snake'
+ #model.DBSession.add(snake)
+
transaction.commit()
print "Successfully setup"
Show replies by date