Skip to content

Passing restApiKey with Heroku config vars #1216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
goggelj opened this issue Mar 27, 2016 · 2 comments
Closed

Passing restApiKey with Heroku config vars #1216

goggelj opened this issue Mar 27, 2016 · 2 comments

Comments

@goggelj
Copy link

goggelj commented Mar 27, 2016

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 goggelj closed this as completed Mar 27, 2016
@goggelj
Copy link
Author

goggelj commented Mar 27, 2016

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.

@flovilmart
Copy link
Contributor

Yes most of them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants