mirror of https://github.com/perkeep/perkeep.git
Get the UI starting to work in App Engine.
Change-Id: I6fc3420bb6e4d41595c3ef511bbdafa82ff51cf3
This commit is contained in:
parent
e351525afd
commit
17c4fb81f4
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../../../lib/go/camli/client
|
|
@ -0,0 +1 @@
|
|||
../../../../lib/go/camli/jsonsign/
|
|
@ -0,0 +1 @@
|
|||
../../../../../lib/go/camli/misc/gpgagent
|
|
@ -0,0 +1 @@
|
|||
../../../../../lib/go/camli/misc/pinentry
|
|
@ -0,0 +1 @@
|
|||
../../../../../lib/go/camli/misc/resize
|
|
@ -0,0 +1 @@
|
|||
../../../../lib/go/camli/rollsum
|
|
@ -0,0 +1 @@
|
|||
../../../../lib/go/camli/schema
|
|
@ -0,0 +1 @@
|
|||
../../../../lib/go/camli/search
|
|
@ -0,0 +1 @@
|
|||
../../../../lib/go/camli/server
|
|
@ -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(),
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
"prefixes": {
|
||||
"/ui/": {
|
||||
"enabled": false, "_comment": "The UI handler isn't yet in its own package.",
|
||||
"handler": "ui",
|
||||
"handlerArgs": {
|
||||
"blobRoot": "/bs/"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../../server/go/camlistored/ui/
|
Loading…
Reference in New Issue