How to set environment variable with heroku?

后端 未结 1 661
温柔的废话
温柔的废话 2021-01-23 00:28

I\'m trying to set an environment variable with this command line:

heroku config:set ENV=PRODUCTION

But I have this error :

!

1条回答
  •  悲哀的现实
    2021-01-23 01:08

    I think what you need now is to tell heroku in which app you want to set the env variable.

    heroku config:set ENV=PRODUCTION --app disquairedjangoaj96

    Maybe this guide can help you https://devcenter.heroku.com/articles/using-the-cli#app-commands

    0 讨论(0)
提交回复
热议问题