문제

I have successfully set up a Hubot with variables set according to the Campfire adapter README, but when I restart my shell the variables are no longer set. How can I set these variables in a way that persists across shell sessions?

도움이 되었습니까?

해결책

I knew that I had to save them to a file rather than just typing export commands in the shell, but I didn't know that it was as easy as:

  1. Editing the bin/hubot file itself (I thought there must be some separate config file)
  2. Simply typing the exact same export commands into the hubot file as the ones I had typed into the shell (I assumed there'd be some weird syntax, but there isn't.)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top