X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f0b41c2a66b9696a55e0bca008e215118b341ce5..15870a550ddd18192efc71c1355a238e7c7c53e8:/README?ds=inline diff --git a/README b/README index 4e94cc9..5ce586b 100644 --- a/README +++ b/README @@ -8,12 +8,26 @@ distribute, or rework Selectricity under the terms of that license. Of course, we'd sure like it if you would send fixes back to us and tell us about cool stuff you do with our software! -The best way to get Selectricity is just to download it from our source -tree. At the moment, we're hosting our code at Gitorious which is a -free software hosting provider. You can download Gitorious at the -project page by following detailed instructions at Gitorious: +The best way to get Selectricity is just to download it from our +source repository. You'll need the Git version control system or +source control manager to check it. You can get it here: - http://gitorious.org/selectricity + http://git-scm.com/ + +Once you have it, getting the source code is pretty easy. You just need +to check out a branch with a command like this: + + git clone http://projects.mako.cc/source/selectricity/.git + +By default, this will create a working copy with the latest +*development* version of our code. If you want the latest production +version (i.e., what we're running on the site), you need to switch to +the live version of the software which is kept in a branch called +"live." Once you cloned the repository above, you can switch into the +directory (i.e., run "cd selectricity") and then run the following +command: + + git checkout -b live origin/live =============================================== @@ -30,12 +44,6 @@ list here: http://mailman.mit.edu/mailman/listinfo/selectricity -In terms of bugs and documentation, we current plan to build this out in -our Gitorious wiki so feel free to get started with your own efforts -along these lines there: - - http://gitorious.org/selectricity/pages/Home - =============================================== === Dependencies ============================== @@ -76,30 +84,6 @@ provides '/usr/bin/sendmail' should work. * Benjamin Mako Hill * John Dong - * Justin Sharps - - -===================================== -=== XML-RPC INFO == -====================================== - -The XML-RPC API is still under development, but is somewhat functional already: - -To instantiate a client in Ruby, try something like: -client=ActionWebService::Client::XmlRpc.new(SelectricityAPI,"http://localhost:3000/selectricity_service/vote") - - -Getting the results of a quickvote is quite simple: -?> client.get_quickvote_results("test") -=> # - -Casting a quickvote: -client.cast_quickvote("test",1,[[1,2]]) - -To figure out what you're voting for: ->> client.get_quickvote_candidate_map("test")=> # - - - + * Justin Sharps