Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

[19:24:19 CDT(-0500)] <Bosmon> Another thing which we need to do something about in due course

[19:24:50 CDT(-0500)] <Bosmon> He does it with a that.server.configure call

[19:25:26 CDT(-0500)] <Bosmon> FlowManager, line 131

[19:26:28 CDT(-0500)] <colinclark> I'm not sure what environment variable this gets resolved to

[19:26:39 CDT(-0500)] <Bosmon> I believe it is called NODE_ENV

[19:26:48 CDT(-0500)] <Bosmon> http://expressjs.com/guide.html

[19:26:59 CDT(-0500)] <colinclark> oh bizarre

[19:27:00 CDT(-0500)] <colinclark> ok

[19:27:10 CDT(-0500)] <Bosmon> Yes, pretty bizarre

[19:28:05 CDT(-0500)] <colinclark> umm

[19:28:17 CDT(-0500)] <colinclark> How do I set an environment variable in Windows?

[19:28:23 CDT(-0500)] <Bosmon> "set" (smile)

[19:28:26 CDT(-0500)] <colinclark> I mean, I know how to from the control panel

[19:28:27 CDT(-0500)] <colinclark> cool

[19:28:46 CDT(-0500)] <colinclark> once again, 12-year old Colin is laughing hysterically

[19:28:48 CDT(-0500)] <colinclark> somewhere

[19:35:54 CDT(-0500)] <Bosmon> Was he prone to that? : P

[19:35:57 CDT(-0500)] <colinclark> hmm

[19:36:02 CDT(-0500)] <colinclark> Well, he was pretty mouthy

[19:36:21 CDT(-0500)] <colinclark> Looks like everything is working really smoothly for Jim

[19:36:30 CDT(-0500)] <colinclark> or rather

[19:36:31 CDT(-0500)] <colinclark> will be

[19:36:40 CDT(-0500)] <colinclark> assuming I can get ahold of him

[19:36:45 CDT(-0500)] <colinclark> so, Bosmon

[19:36:49 CDT(-0500)] <colinclark> just to be sure

[19:37:09 CDT(-0500)] <colinclark> is your impression that these config files

[19:37:24 CDT(-0500)] <colinclark> say, config.demo_local.json

[19:37:30 CDT(-0500)] <colinclark> are keyed by the NODE_ENV value?

[19:37:57 CDT(-0500)] <colinclark> in other words

[19:38:13 CDT(-0500)] <colinclark> set NODE_ENV=demo_local should cause the system to read preferences off the file system?

[19:38:32 CDT(-0500)] <Bosmon> That appears to be right

[19:38:46 CDT(-0500)] <Bosmon> Although I wouldn't swear to it 100% since I have never done it

[19:40:11 CDT(-0500)] <colinclark> it looks like it is the case

[19:41:14 CDT(-0500)] <colinclark> okay, good

[19:41:16 CDT(-0500)] <colinclark> I now understand this system at least vaguely (wink)

[19:42:35 CDT(-0500)] <Bosmon> cool

[19:42:39 CDT(-0500)] <Bosmon> I'm off to dinner shortly

[19:42:46 CDT(-0500)] <Bosmon> Anything I can do/report quickly?

[20:18:26 CDT(-0500)] <colinclark> Bosmon: We're cool

[20:18:29 CDT(-0500)] <colinclark> Jim's demo is all set

[20:18:34 CDT(-0500)] <colinclark> everything works great on his machine

[20:18:37 CDT(-0500)] <colinclark> thanks again, dude

[20:18:40 CDT(-0500)] <colinclark> I really appreciate it