func init() { glog.SetToStderr(true) cfg := config.ParseConfigFromFile("cayley_appengine.cfg") qs, _ := graph.NewQuadStore("memstore", "", nil) glog.Errorln(cfg) db.Load(qs, cfg, cfg.DatabasePath) http.SetupRoutes(qs, cfg) }
func init() { glog.SetToStderr(true) cfg := config.ParseConfigFromFile("cayley_appengine.cfg") ts := memstore.NewMemTripleStore() glog.Errorln(cfg) LoadTriplesFromFileInto(ts, cfg.DatabasePath, cfg.LoadSize) http.SetupRoutes(ts, cfg) }