parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Passing restApiKey with Heroku config vars

Open goggelj opened this issue 10 years ago • 2 comments

I am trying to get REST to work with my python code.

I can get it to work w/o the parse-example by running parse-server and providing a command line argument of:

--restAPIKey <my rest key>

This worked fine on Google cloud (not as an app just as a stand alone node app running on a compute engine).

However, on both Heroku and AWS I cannot seem to figure out what is the Config Var I need to set to enable REST to work.

Thoughts?

For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

Environment Setup

Steps to reproduce

Logs/Trace

goggelj avatar Mar 27 '16 16:03 goggelj

found what I needed in /parse-server/lib/cli/cli-definitions.js.

Correct me if I am wrong but all config vars can be derived from this file.

goggelj avatar Mar 27 '16 16:03 goggelj

Yes most of them!

flovilmart avatar Mar 27 '16 16:03 flovilmart