Convox start fails because of missing env?

I have a new convox app that I’m trying to run locally. It defines a single envar in convox.yml (FLASK_APP).

Where I try to run convox start, I get the following error:

ERROR: required env: FLASK_APP

I can’t find anything in the docs about setting environment variables for local dev. Can you point me in the right direction?

You can set environment variables on your local rack the same way as a remote one

convox env set FLASK_APP=XXX

1 Like