Skip to content

Parse-server sample for Google App Engine not recognizing variables in yaml #63

Description

@maloykr

Parse-server sample for Google App Engine for some reason is not recognizing variables (appid and masterkey) in yaml.

When you npm start, you get "You must provide an appId and masterKey!" even if they are in the yaml

Activity

  1. jmdobry commented on Jan 31, 2016

    @jmdobry
    Member

    app.yaml is read by Google App Engine itself, not NPM, and is therefore is only useful for deployment. So when you're running the app locally, you need to set the environment variables yourself, e.g.

    export MASTER_KEY=foo
    npm start
    

    or

    MASTER_KEY=foo npm start
    

    Note: Syntax for setting env vars depends on your environment

  2. maloykr commented on Jan 31, 2016

    @maloykr
    Author

    got it ...

    was following

    https://medium.com/google-cloud/deploying-parse-server-to-google-app-engine-6bc0b7451d50#.o21fdg2g4

    and it mentioned you could use npm but that seems erroneous.

    thanks.

  3. 1 remaining item

  4. added a commit that references this issue on Jan 11, 2023
  5. added a commit that references this issue on Jan 18, 2023
  6. added a commit that references this issue on Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions