# Convox start fails because of missing env?

**URL:** <https://community.convox.com/t/convox-start-fails-because-of-missing-env/59>\
**Category:** Rack (Version 2)\
**Created:** [February 5, 2019, 11:08pm UTC](https://community.convox.com/t/convox-start-fails-because-of-missing-env/59 "2019-02-05T23:08:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://community.convox.com/u/erik)\
**Post date:** [February 5, 2019, 11:08pm UTC](https://community.convox.com/t/convox-start-fails-because-of-missing-env/59/1 "2019-02-05T23:08:31Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![julian](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/julian/32/35_2.png) [@julian](https://community.convox.com/u/julian)\
**Post date:** [February 6, 2019, 3:53am UTC](https://community.convox.com/t/convox-start-fails-because-of-missing-env/59/2 "2019-02-06T03:53:11Z")

</div>

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

`convox env set FLASK_APP=XXX`
