Hide token to make repo public
Closed this issue · 6 comments
Ironjanowar commented
With an env var or something.
Maybe the good old bot.token
, ignored in the .gitignore
and a run.sh
that reads the token and sets it as an env var :D
Ironjanowar commented
@rockneurotiko how did we get the env vars from config/config.exs
??
rockneurotiko commented
Telex.Config.get(...)
Ironjanowar commented
Not the ones defined in config/config.exs
, I mean:
config :meh,
mehe: {:system, ...} # Something like that (?)
Ironjanowar commented
config :meh,
mehe: {:system, "BOT_API_TOKEN"}
#sanks
rockneurotiko commented
#learn2read
rockneurotiko commented