Fix SiteRoot for rebuild
This commit is contained in:
parent
3a333c1865
commit
65100e652c
@ -5,6 +5,11 @@ sys.path.append( os.path.abspath( "." ) )
|
||||
from botanjs.service.jwork import app, JWork
|
||||
from botanjs.config import Config as config
|
||||
|
||||
SiteRoot = os.path.abspath( "." )
|
||||
|
||||
# Setting the SiteRoot for config
|
||||
config["Paths"]["SiteRoot"] = SiteRoot;
|
||||
|
||||
bmap = os.path.join( config["Paths"]["Cache"], "botanjs", "bmap.xml" )
|
||||
|
||||
app.conf.update( BROKER_URL = config["BotanJS"]["CeleryBroker"] )
|
||||
|
Loading…
Reference in New Issue
Block a user