superlogin-demo icon indicating copy to clipboard operation
superlogin-demo copied to clipboard

userDB not seeded

Open AidanNichol opened this issue 8 years ago • 6 comments

I've been trying to run this demo locally.

Install went fine except that the readme said to run bower install which failed but on investigation it would appear that this had already been run as part of npm install via the postinstall script.

Accessing the app takes me to the login screen as expected. I tried a signup and the server gave a stream of errors, e.g.

[Error: {"status":404,"name":"not_found","message":"missing"}]
Error: {"status":404,"name":"not_found","message":"missing"}
    at /www/sites/superlogin-demo/node_modules/superlogin/lib/user.js:75:15
    at runMicrotasksCallback (node.js:337:7)
    at process._tickCallback (node.js:355:11)
GET /auth/validate-email/joe2%40nicholware.co.uk 500 43.748 ms - 2

It would appear that my userDB doesn't have an auth design document. Doesn't pouchdb-seed-design need to be somehow run once to set it up.

AidanNichol avatar Dec 22 '15 08:12 AidanNichol