|
|
@@ -77,13 +77,15 @@ class Installer: |
|
|
|
return target |
|
|
|
|
|
|
|
def install_app(self): |
|
|
|
sync_for("lib", force=True, sync_everything=True) |
|
|
|
self.import_core_docs() |
|
|
|
|
|
|
|
try: |
|
|
|
from startup import install |
|
|
|
except ImportError, e: |
|
|
|
print "No app install found" |
|
|
|
return |
|
|
|
|
|
|
|
sync_for("lib", force=True, sync_everything=True) |
|
|
|
self.import_core_docs() |
|
|
|
install.pre_import() |
|
|
|
sync_for("app", force=True, sync_everything=True) |
|
|
|
|
|
|
@@ -156,4 +158,4 @@ class Installer: |
|
|
|
webnotes.conn.sql("""create table __Auth ( |
|
|
|
`user` VARCHAR(180) NOT NULL PRIMARY KEY, |
|
|
|
`password` VARCHAR(180) NOT NULL |
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8""") |
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8""") |