bradshjg / flask-githubapp

Flask extension for rapid Github app development in Python, in the spirit of probot (https://probot.github.io/)
MIT License
56 stars 14 forks source link

How to set environment variables #9

Closed AivanK closed 4 years ago

AivanK commented 4 years ago

Hello, How can i setup the env variables in order to run the code that you present? I'm talking about the tree you mentioned: GITHUBAPP_ID, GITHUBAPP_KEY_PATH, and GITHUBAPP_SECRET.

Thanks in advance.

feliperazeek commented 4 years ago

why can't you just do?

export GITHUBAPP_KEY_PATH="<value>"
export GITHUBAPP_ID="<id>"
export GITHUBAPP_SECRET="<secret>"
AivanK commented 4 years ago

Yeah but i don't have any values associated with them, so i can't export anything. It is always telling me that GITHUBAPP_KEY_PATH is none.

feliperazeek commented 4 years ago

I created a new app here, see doc.