diff --git a/roundup/init.py b/roundup/init.py
index d2e39a5d9aa78c214c9b93912490e6ad503ec9db..ef7b1aef25fae8c858798156fa56f2714c115431 100644 (file)
--- a/roundup/init.py
+++ b/roundup/init.py
-# $Id: init.py,v 1.3 2001-07-23 08:45:28 richard Exp $
+# $Id: init.py,v 1.4 2001-07-24 10:46:22 anthonybaxter Exp $
import os, shutil, sys
''' initialise an instance using the named template
'''
# first, copy the template dir over
+ import roundup.templatebuilder
+
template_dir = os.path.split(__file__)[0]
+ template_name = template
template = os.path.join(template_dir, 'templates', template)
copytree(template, instance)
+ roundup.templatebuilder.installHtmlBase(template_name, instance)
+
# now select database
db = '''# WARNING: DO NOT EDIT THIS FILE!!!
from roundup.backends.back_%s import Database'''%backend
#
# $Log: not supported by cvs2svn $
+# Revision 1.3 2001/07/23 08:45:28 richard
+# ok, so now "./roundup-admin init" will ask questions in an attempt to get a
+# workable instance_home set up :)
+# _and_ anydbm has had its first test :)
+#
# Revision 1.2 2001/07/22 12:09:32 richard
# Final commit of Grande Splite
#