[p2pu-dev] Getting Involved

Stian Håklev shaklev at gmail.com
Tue Apr 10 18:32:44 UTC 2012


If someone wanted to put together a virtual machine with Lernanta (could be
a minimal one with no GUI, just use it to run Lernanta in a VM, and use the
browser in your ordinary OS to connect etc). I had Lernanta working once,
but then I changed computers or upgraded the OS, and now it doesn't work. I
spent a few hours trying to get it to work, but no dice. I'm sure it's not
that hard, and if I sat down with Zuzel for half an hour, she could help me
get it to work. For the minimal stuff I want to do with it (primarily check
out translation files, but there could be other stuff in the future) it
might not be worth it, but I'm sure there are many others out there... It
really shouldn't take that long to just throw a minimal Debian in a VM, do
all the configs to get Lernanta up and running, zip the VM and upload it
somewhere. (The VM doesn't have to be kept up to date with Lernanta, people
downloading it can just git pull the latest version, as long as all the
libs are set up properly etc).

For involved developers this is probably of no use, but for people who just
want to check it out and play with it, I think it would make things a lot
easier, especially for people not used to Python development, setting up
environments etc.

(Great junior task)

Stian

On Thu, Apr 5, 2012 at 16:14, Dirk Uys <dirk at p2pu.org> wrote:

> A few tips that may help anyone trying to get started with the lernanta
> codebase:
>
> $ apt-get install graphviz graphviz-dev
>
> In your development environment (iow after you issued "workon lernanta")
> run:
>
> $ pip install django-extensions
> $ pip install Werkzeug
> $ pip install pygraphviz
>
> You can then run the debug server using
>
> $ python manage.py runserver_plus
>
> This gives you the werkzeug debugger! You can now do things like put
> "raise Exception()" in a view function and then use the interactive
> debugger in your browser to see what happened up until that point!
>
> Another useful command is:
>
> $ ./manage.py graph_models -a -g -o my_project_visualized.png
>
> which gives you a diagram of all the models!
>
> Hope that helps a little
>
> Cheers
> Dirk
>
>
> On Tue, Apr 3, 2012 at 8:29 PM, Corbin Tarrant <Corbin at iamcorbin.net>wrote:
>
>> I agree that a screencast overview of the code would be really helpful
>> for getting started.
>>
>> The Q&A is another good idea and I think that would work well added to
>> the git wiki: https://github.com/p2pu/**lernanta/wiki/<https://github.com/p2pu/lernanta/wiki/>
>>
>> I'm excited to get involved, thanks for the responses everyone. I've used
>> open source software for years but I'm just getting started learning how to
>> help out and contribute and it's good to know there are people here to help.
>>
>> ------------------------
>> Corbin Tarrant
>> Corbin at iamcorbin.net
>> http://iamcorbin.net
>> ------------------------
>>
>> On Tue 03 Apr 2012 12:15:49 PM EDT, Ricardo Soares wrote:
>>
>>> Hi everyone,
>>>
>>> I'm also a newbie on contributing to Lernanta. At the moment I'm trying
>>> to help José developing the lernanta API, and I think a screencast overview
>>> of Lernanta would be awesome.
>>>
>>>
>>> On Tue, Apr 3, 2012 at 2:58 PM, zuzel.vp <zuzel.vp at gmail.com <mailto:
>>> zuzel.vp at gmail.com>> wrote:
>>>
>>>    Just replied at
>>>    http://lists.p2pu.org/**pipermail/p2pu-dev/2012-April/**002566.html<http://lists.p2pu.org/pipermail/p2pu-dev/2012-April/002566.html>
>>>
>>>    On Mon, Apr 2, 2012 at 1:59 PM, Corbin Tarrant
>>>    <Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>> wrote:
>>>
>>>        Hello Everyone,
>>>
>>>        I am still trying to get involved but am having a hard time
>>>        getting started. I have a dev environment setup and have
>>>        forked the github code. I posted before about not being able
>>>        to edit courses or create anything other than the dummy
>>>        content created with: python manage.py loaddata
>>>        apps/badges/fixtures/test_**challenges_with_bagdes.json
>>>
>>>        That aside, I'm trying to look over the code and get an
>>>        understanding of how everything works together but I'm new to
>>>        django as well and have only gone through the beginner
>>>        tutorial. There is quite a bit more complexity to the lernanta
>>>        app then the demo app created in the django tutorial and I was
>>>        wondering if someone could help me better understand how
>>>        everything is structured. I'm basically looking for a tour of
>>>        the code and some guidance on learning more.
>>>
>>>
>>>        ------------------------
>>>        Corbin Tarrant
>>>        Corbin at iamcorbin.net  <mailto:Corbin at iamcorbin.net>
>>>
>>>        http://iamcorbin.net
>>>        ------------------------
>>>
>>>
>>>        ______________________________**_________________
>>>        p2pu-dev mailing list
>>>        p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.**org<p2pu-dev at lists.p2pu.org>
>>> >
>>>
>>>        http://lists.p2pu.org/mailman/**listinfo/p2pu-dev<http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>>>
>>>
>>>
>>>    ______________________________**_________________
>>>    p2pu-dev mailing list
>>>    p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.**org<p2pu-dev at lists.p2pu.org>
>>> >
>>>
>>>    http://lists.p2pu.org/mailman/**listinfo/p2pu-dev<http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Ricardo Soares
>>>
>>>
>>>
>>>
>>>
>>> ______________________________**_________________
>>> p2pu-dev mailing list
>>> p2pu-dev at lists.p2pu.org
>>> http://lists.p2pu.org/mailman/**listinfo/p2pu-dev<http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>>>
>> ______________________________**_________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/**listinfo/p2pu-dev<http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>>
>
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
>


-- 
http://reganmian.net/blog -- Random Stuff that Matters
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120410/94e10a5e/attachment.html>


More information about the p2pu-dev mailing list