On Wed, Feb 6, 2013 at 10:03 AM, abhay jain <
abhay.ja...@gmail.com> wrote:
> Hi Everyone,
>
> Fianlly I was able to install and run all the three solon ,liquid feedback
> and
> helios on my system.
>
> So what am I supposed to do now.
Hi Abhay
This is great news! To be honest, I was unsure if any of you would
make it. Especially the Liquid Feedback installation is quite
complicated. Now the fun begins...
What was the issue with Tornado in Solon? Did you have a different version?
So, just to check the basics. Have you done the following:
1) Understanding Liquid Feedback
Use Liquid Feedback in "normal mode" first:
psql -c "UPDATE system_setting SET ext_voting_service=FALSE;" liquid_feedback
Now:
Log in as administrator in Liquid Feedback.
Create new Units and Areas.
Create new users that belong to the Unit.
Btw, I'm using a firefox plugin that allows me to easily switch
between users without logging in and out all the time. Unfortunately
I'm not at home now, I'll tell you the name of the plugin later.
Create issues, let the users discuss them and then vote on them.
Note that it helps testing if you create a policy where the times for
discussion, voting, etc... are short, like 10 minutes each.
2) Hook in Solon
psql -c "UPDATE system_setting SET ext_voting_service=TRUE;" liquid_feedback
Now try to start some new issues in Liquid Feedback. When you get to
voting phase, go to the Solon home page and click the first link
"Execute periodic tasks (cron)". This should copy the issues that are
open for voting to Solon. Using the other links you should be able to
browse them and vote on them.
Finally, when voting is closed, execute cron again and the results
should be pushed back to Liquid Feedback, which should display the
issue as closed and which alternative has won.
Doing the above for a few issues will help you understand the flow of
things in Liquid Feedback and Solon - and the data flow between them.
As for actual tasks, I was going to propose a few practice tasks to
begin with. As you noticed during installation, there are a few
processes that are actually running as daemons, but need to be started
manually in a terminal. It would be a useful contribution to all of
these projects to contribute proper init scripts.
For lf_updated the installation instructions already provided the
shell script and its init script, but for some reason they are not in
the tarball. You could start by producing a diff against the latest
Liquid Feedback release where they are added to the actual code.
Then a next step would be to similarly "daemonize" this step:
echo "Event:send_notifications_loop()" | ../webmcp/bin/webmcp_shell myconfig
...by copying and modifying the shell script and init script from lf_updted.
Finally, we should daemonize the Tornado web server used by Solon and
Django web server used by Helios. Both of these are also now started
from command line. They too can be daemonized by adapting the init
script above.
How to contribute:
Liquid Feedback is hosted in subversion which you can find at
dev.liquidfeedback.org. You should check out their trunk, then do
changes against it, do "svn diff" and post to the mailing list.
IMPORTANT: Do not mention solon or anything about cryptography when
emailing them. Just say you have been installing Liquid Feedback for a
school project and you wanted to contribute to make the installation
easier.
Both Solon and Helios are on Github. You should create your own Github
account, fork Solon/Helios, make changes, commit and push your own
branch, and send a pull request. Note that for Helios you need to find
out which is the correct and most recent branch to fork. Probably you
should ask on the mailing list about this.
Since there are 3 of you working on this project, each of you could do
one of the init scripts.
After the above practice task, we should start looking into glueing
together Solon and Helios.
henrik
--
henri...@avoinelama.fi
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc
My LinkedIn profile:
http://www.linkedin.com/profile/view?id=9522559