Thought we could use this page to guide developers who want to help maintain the server code. Since right now I (PEZ) am one of these maybe we can use my questions as a starting point for the FAQ section. Please help with answering these. Here goes:
Where's the code at?
If you want to contribute, preferred way is to:
- Fork it
- Clone your fork
- Add [User:Darkcanuck|]'s as upstream:
$ git clone https://github.com/<github_user_name>/rumbleserver.git $ cd rumbleserver $ git remote add upstream https://github.com/darkcanuck/rumbleserver.git
Whenever you start a session of development, always start by pulling from upstream to get the latest change sets.
$ git pull upstream master
I (PEZ) think it's best to get into the habit of always creating a branch for changes you think you will want to get pulled into the mother repository. You can only issue one pull request per branch, if I have understood things correctly.
The requested URL /~pez/RRServer/Rankings was not found on this server.
If I access the rankings with rankings (lower case 'r') I get past this culprit. Should I configure httpd to ignore case?
The server URLs were setup to be identical to the old Java server, case and all. Httpd can safely be configured to ignore case, or we could update the .htaccess file to use case-insensitive rules.
(Actually, to me, that sounds like an issue of not having the .htaccess rules used at all. If you're using a non-apache, remember that you need to set up these redirects as appropriate for that server. I'm using lighttpd and if you need rules for that, I can post them. --Rednaxela 16:52, 12 November 2011 (UTC))
- Ah, you're right. The "nice" URL is just "Rankings", whereas the actual file is "rankings.php". --Darkcanuck 17:14, 12 November 2011 (UTC)
- Actually I was lying to you. If I change the URL to use just ranking (lowercase 'r' and no '.php') I get rid of the 404. Seems "nice" URLs are working, but I need to configure for ignoring case somewhere, somehow. -- PEZ 19:36, 12 November 2011 (UTC)