CyberShadow / DFeed

D news aggregator, newsgroup client, web newsreader and IRC bot
http://forum.dlang.org/help#about
381 stars 35 forks source link

data/salt.txt: No such file or directory #38

Closed Paxa closed 9 years ago

Paxa commented 10 years ago

When I run on localhost and try to register it says:

data/salt.txt: No such file or directory

I think would be nice to add it to readme

Paxa commented 10 years ago

Can you please explain about all config files required to run this forum?

I find in code mentioned these files:

I just learning D, and I am interested in meaning of this line: https://github.com/CyberShadow/DFeed/blob/1c1d9b95f4cf1c9485f0049c1aa71f20efff3bb5/stackoverflow.d#L71

(exists("data/stackoverflow.txt") ? "&key=" ~ readText("data/stackoverflow2.txt") : "")
CyberShadow commented 10 years ago

These files contain various bits of configuration, mostly used for identification to various services. Some of these don't need to exist. Many are not used by the forum part, just for the IRC feed. Usually they only contain the secret key. Check the code for the exact format. I began moving everything to proper configuration files, but that's not done yet.

I am interested in meaning of this line

That's a bug, I missed the first constant. Both should refer to stackoverflow2.txt.

CyberShadow commented 9 years ago

Fixed in next branch