Git Product home page Git Product logo

Comments (4)

dutu avatar dutu commented on May 19, 2024

@sunweiyang , could you let me know the heroku config:set command you are using and its output?
Please just replace with * characters from the key and secret and copy+paste.

from pololender.

sunweiyang avatar sunweiyang commented on May 19, 2024

Here are my heroku config:set and heroku config commands. I've obfuscated my own key and secret values.

You'll notice that I have only ETH listed in my POLOLENDER_LENDMAX and POLOLENDER_MINRATE environment variables. That's because when I try to have both BTC and ETH, the same thing happens; only the last key-value pair gets set.

$ heroku config:set POLOLENDER_APIKEY={\"key\":\"------------------\",\"secret\":\"------------------\"}
Setting POLOLENDER_APIKEY, POLOLENDER_APIKEY and restarting ⬢ rocky-atoll-57901... done, v17
POLOLENDER_APIKEY: "secret":"------------------"
$ heroku config
=== rocky-atoll-57901 Config Vars
PAPERTRAIL_API_TOKEN:      ------------------
POLOLENDER_APIKEY:         "secret":"------------------"
POLOLENDER_LENDMAX:        {"ETH":"#"}
POLOLENDER_MINRATE:        {"ETH":"#"}
POLOLENDER_REPORTINTERVAL: 30
POLOLENDER_STARTBALANCE:   {"#"}
POLOLENDER_STARTTIME:      2017-05-24T10:17:00+07:00

from pololender.

dutu avatar dutu commented on May 19, 2024

it looks that on Ubuntu you have to use this format

heroku config:set POLOLENDER_APIKEY='{"key":"----","secret":"-----"}'

from pololender.

Shoananas avatar Shoananas commented on May 19, 2024

For those who may have similar errors, you can setup the config vars through the Heroku website, the last tab when you browse your app on Heroku lets you edit the config vars and it restarts the app automatically to apply the new values.

from pololender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.