Ladder

Post here if you need help setting up your server, etc.
Post Reply
User avatar
Tannermon11
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Ladder

Post by Tannermon11 »

I already have a ladder, but I was trying to get a ladder that has Rounds won, Matches won, % won of rounds and matches. (I have Windows OS)
I also downloaded the windows version of Ruby.
I went onto https://launchpad.net/noms and downloaded the 1.5 version.
I extracted it into C:\xampp\htdocs\Ladder
I opened the ReadMe in the noms folder. It said

"Download the CSV formatted database from
[Webnet77](http://software77.net/geo-ip), and use the `bin/countries.rb`
program. ruby bin/countries.rb /path/to/IpToCountry.csv The database `db/countries.sqlite3` will be created."

I clicked open on countries.rb and wasn't able to, so I tried opening it with ruby.exe. I don't think that worked..
I don't see this database if I'm suppose to see it, which I'm guessing didn't appear because the countries.rb didn't open.

What am I suppose to do to be able top use the countries.rb program?
User avatar
Tannermon11
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Re: Ladder

Post by Tannermon11 »

Anyone??
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Ladder

Post by dlh »

I didn't make it 100% clear from the README, but the countries database is completely optional.

You run bin/countries.rb with ruby. If there's an error message you should post it here.
User avatar
Tannermon11
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Re: Ladder

Post by Tannermon11 »

What do you type in ruby to make it run? And if you don't set up the countries database then what do you do to get the ladder up and running?
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Ladder

Post by dlh »

The next step, “Stats databases”, documents how you run the program using ruby.

You may be better off waiting for the next version… I have major changes planned.
Post Reply