yongjhih / docker-parse-server

Provide docker images and docker stack for parse-server npm versions and latest commit
https://hub.docker.com/r/yongjhih/parse-server/
Apache License 2.0
475 stars 166 forks source link

Prase dashboard missing missing app setting page? #34

Closed katopz closed 8 years ago

katopz commented 8 years ago

Is this only me? screen shot 2559-04-28 at 21 23 57 I expected (capture from parse site) screen shot 2559-04-28 at 21 27 19

May be I miss some config? Any hint is welcome. Thanks

yongjhih commented 8 years ago

No, official screencast is the same with you: https://youtu.be/o522ovITvW4?t=10m23s

katopz commented 8 years ago

Refer to https://github.com/ParsePlatform/parse-dashboard/issues/246 It seem like I've to enable VERIFY_USER_EMAILS but I got

/parse/node_modules/parse-server/lib/Controllers/AdaptableController.js:51
        throw new Error(this.constructor.name + " requires an adapter");
        ^
Error: UserController requires an adapter
    at UserController.validateAdapter (/parse/node_modules/parse-server/lib/Controllers/AdaptableController.js:51:15)
    at UserController.validateAdapter (/parse/node_modules/parse-server/lib/Controllers/UserController.js:60:86)
    at UserController.set (/parse/node_modules/parse-server/lib/Controllers/AdaptableController.js:80:12)
    at UserController.AdaptableController (/parse/node_modules/parse-server/lib/Controllers/AdaptableController.js:39:18)
    at new UserController (/parse/node_modules/parse-server/lib/Controllers/UserController.js:50:83)
    at new ParseServer (/parse/node_modules/parse-server/lib/ParseServer.js:232:26)
    at new _ParseServer (/parse/node_modules/parse-server/lib/index.js:34:16)
    at Object.<anonymous> (/parse/index.js:88:11)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)

Seem like I need mail adapter there. This setup flow is super weird tho. BTW, how can I add adapter file in docker parse-server? scp? rsync? git push?

Thanks

yongjhih commented 8 years ago

Oh, you want to VERIFY_USER_EMAILS enabling, I'm taking look it

yongjhih commented 8 years ago

You can configure emailAdapter with environment variables:

VERIFY_USER_EMAILS=1
EMAIL_MODULE=parse-server-simple-mailgun-adapter
EMAIL_FROM=xxx@mg.xxx.com
EMAIL_DOMAIN=mg.xxx.com
EMAIL_API_KEY=key-xxx

I'm not sure that email configuration will enable App Setttings and Analytics menu items or not.