[okfn-labs] Creating a PyBossa app

Tom Morris tfmorris at gmail.com
Fri Nov 23 20:25:15 UTC 2012


I'm following the tutorial at
http://pybossa.readthedocs.org/en/latest/user/create-application-tutorial.htmland
it says:

Adding a tutorial is really simple: you only have to create a file named *
tutorial.html* and add it to the *info* object:

info = { 'thumbnail': http://hosting-service/thumbnail-name.png,
         'task_presenter': template.html file,
         'tutorial': tutorial.html
       }


but I don't see anything in the API which describes how to upload
template.html or tutorial.html.  Is it assumed that I have write access to
the server through some other mechanism?  Or do I need to find a place to
host my own files and put absolute URLs in the info block?  I notice that
this thumbnail parameter seems to assume offsite storage.

>From my personal point of view, if I can't create a complete basic app
using the GUI, it's not really saving me anything because I'm gong to have
to break out Python to finish the job anyway.  It doesn't seem like it
would be that much more work to add 3 file browse fields and the form code
to upload them (or fields for off-set URLs if that's all that's supported).
 Similarly, why document how to handcraft a URL for testing purposes
(slug/presenter) when it'd be trivial to add a "Test Presenter" button to
the app management page.

Has anyone actually created, debugged, and deployed an app by following
these directions without having direct access to the PyBoss server?  If
not, that would probably be a useful exercise.

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/okfn-labs/attachments/20121123/c80432a9/attachment-0001.html>


More information about the okfn-labs mailing list