Fork me on GitHub
#hoplon
<
2017-08-02
>
chromalchemy22:08:33

@flyboarder When hoplon.firebase updated I get error: Required env vars: [FIREBASE_API_KEY FIREBASE_AUTH_DOMAIN FIREBASE_DATABASE_URL FIREBASE_STORAGE_BUCKET]? I previously had them in a .cljs file like

(fb/init 
  { :apiKey "aaaaaa"
    :authDomain "bbbbb"
    :databaseURL "ccccc"})
. I tried putting them in boot.properties but it didn't seem to work :
FIREBASE_API_KEY=aaaaa
FIREBASE_AUTH_DOMAIN=bbbbb
FIREBASE_DATABASE_URL=ccccc
FIREBASE_STORAGE_BUCKET=dddddd

flyboarder22:08:58

@chromalchemy those need to be environment variables

flyboarder22:08:50

So you can put them on the command line

flyboarder22:08:04

Before calling boot

flyboarder23:08:06

Or in your build system

chromalchemy23:08:27

@flyboarder Can you set the enivronment variables in a project file, like build.boot or boot.properties? The above latter example didn't work for me. Do you need to use Env library? Whats standard practice?