No subject
Thu Oct 25 19:26:07 UTC 2012
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
--bcaec51b15e5ab0b0804cf2f61b9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I'm following the tutorial at=A0<a href=3D"http://pybossa.readthedocs.o=
rg/en/latest/user/create-application-tutorial.html">http://pybossa.readthed=
ocs.org/en/latest/user/create-application-tutorial.html</a> and it says:<di=
v>
<p style=3D"margin:0.8em 0px 0.5em;font-family:ff-meta-web-pro-1,ff-meta-we=
b-pro-2,Arial,'Helvetica Neue',sans-serif;font-size:16px;line-heigh=
t:24px;background-color:rgb(255,255,255)">Adding a tutorial is really simpl=
e: you only have to create a file named=A0<strong>tutorial.html</strong>=A0=
and add it to the=A0<strong>info</strong>=A0object:</p>
<div class=3D"highlight-python" style=3D"font-family:ff-meta-web-pro-1,ff-m=
eta-web-pro-2,Arial,'Helvetica Neue',sans-serif;font-size:16px;line=
-height:24px;background-color:rgb(255,255,255)"><pre style=3D"overflow-x:au=
to;overflow-y:hidden;font-family:Consolas,'Deja Vu Sans Mono','=
Bitstream Vera Sans Mono',monospace;margin-right:2em;margin-left:2em;fo=
nt-size:0.95em;letter-spacing:0.015em;line-height:18px;padding:0.5em;border=
:1px solid rgb(204,204,204);background-color:rgb(238,238,238);border-top-le=
ft-radius:6px;border-top-right-radius:6px;border-bottom-right-radius:6px;bo=
rder-bottom-left-radius:6px">
info =3D { 'thumbnail': <a href=3D"http://hosting-service/thumbnail=
-name.png">http://hosting-service/thumbnail-name.png</a>,
'task_presenter': template.html file,
'tutorial': tutorial.html
}</pre></div></div><div><br></div><div>but I don't see anything =
in the API which describes how to upload template.html or tutorial.html. =
=A0Is it assumed that I have write access to the server through some other =
mechanism? =A0Or do I need to find a place to host my own files and put abs=
olute URLs in the info block? =A0I notice that this thumbnail parameter see=
ms to assume offsite storage.</div>
<div><br></div><div>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 b=
ecause I'm gong to have to break out Python to finish the job anyway. =
=A0It doesn't seem like it would be that much more work to add 3 file b=
rowse fields and the form code to upload them (or fields for off-set URLs i=
f that's all that's supported). =A0Similarly, why document how to h=
andcraft a URL for testing purposes (slug/presenter) when it'd be trivi=
al to add a "Test Presenter" button to the app management page.</=
div>
<div><br></div><div>Has anyone actually created, debugged, and deployed an =
app by following these directions without having direct access to the PyBos=
s server? =A0If not, that would probably be a useful exercise.</div><div>
<br></div><div>Tom</div><div><br></div><div><br></div>
--bcaec51b15e5ab0b0804cf2f61b9--
More information about the okfn-labs
mailing list