Get the UI starting to work in App Engine.

Change-Id: I6fc3420bb6e4d41595c3ef511bbdafa82ff51cf3
This commit is contained in:
Brad Fitzpatrick 2011-10-18 11:12:53 -07:00
parent e351525afd
commit 17c4fb81f4
13 changed files with 29 additions and 3 deletions

View File

@ -23,8 +23,9 @@ import (
"appengine"
"camli/blobserver"
"camli/serverconfig"
"camli/blobserver" // storage interface definition
"camli/serverconfig" // wiring up the world from a JSON description
_ "camli/server" // handlers: UI, publish, thumbnailing, etc
)
// lazyInit is our root handler for App Engine. We don't have an App Engine

View File

@ -0,0 +1 @@
../../../../lib/go/camli/client

View File

@ -0,0 +1 @@
../../../../lib/go/camli/jsonsign/

View File

@ -0,0 +1 @@
../../../../../lib/go/camli/misc/gpgagent

View File

@ -0,0 +1 @@
../../../../../lib/go/camli/misc/pinentry

View File

@ -0,0 +1 @@
../../../../../lib/go/camli/misc/resize

View File

@ -0,0 +1 @@
../../../../lib/go/camli/rollsum

View File

@ -0,0 +1 @@
../../../../lib/go/camli/schema

View File

@ -0,0 +1 @@
../../../../lib/go/camli/search

View File

@ -0,0 +1 @@
../../../../lib/go/camli/server

View File

@ -0,0 +1,16 @@
package uistatic
import (
"camli/misc/fileembed"
"appengine"
)
var Files = &fileembed.Files{
DirFallback: "uistatic",
// In dev_appserver, allow edit-and-reload without
// restarting. In production, though, it's faster to just
// slurp it in.
SlurpToMemory: !appengine.IsDevAppServer(),
}

View File

@ -4,7 +4,6 @@
"prefixes": {
"/ui/": {
"enabled": false, "_comment": "The UI handler isn't yet in its own package.",
"handler": "ui",
"handlerArgs": {
"blobRoot": "/bs/"

View File

@ -0,0 +1 @@
../../../server/go/camlistored/ui/