cesy: Computer geek - Maria. Lots of 1s and 0s in techie colours. (Maria)
Cesy ([personal profile] cesy) wrote in [site community profile] dw_dev_training2009-08-27 09:27 am
Entry tags:

Quick question

I'm trying to review bug 671, which includes email notifications. I've been told ESN requires TheSchwartz, so I'm looking at the wiki page to set it up.

It mentions the following line of code in etc/config-local.pl:

pass => $DW::PRIVATE::THESCHWARTZ_DBS{pass},

However, there's a very similar block in etc/config-private.pl from the recent database changes (it's the one that was somewhere different before and we had to copy and paste across), and that has:

pass => "password", #CHANGE THIS

(Or something similar - I don't have access to my Dreamhack right now so can't double-check the syntax, but that was the gist of it.)

So, should I change it to a new password, or which existing password, or should it be what's on the wiki? Also, which file should it be in?
yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2009-08-27 08:39 am (UTC)(link)
pass => "password", #CHANGE THIS

Yep, change that "password" in config-private.pl to your password in quotes. Then it will use your actual password when it calls pass => $DW::PRIVATE::THESCHWARTZ_DBS{pass}, in config-local.pl.

This was implemented so that when config-local.pl is changed, you don't lose your Schwarzt setup, I think.
yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2009-08-27 08:53 am (UTC)(link)
The same password as your Dreamhack itself has, yes.

(I hope - I never changed my DH passwords)
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2009-08-27 04:24 pm (UTC)(link)
Same as your database one