[Buildroot] [PATCH v3 2/2] package/python-web2py: new package

Angelo Compagnucci angelo.compagnucci at gmail.com
Fri Jul 24 06:52:23 UTC 2015


Dear Thomas Petazzoni,

2015-07-23 22:26 GMT+02:00 Thomas Petazzoni
<thomas.petazzoni at free-electrons.com>:
> Dear Angelo Compagnucci,
>
> On Tue, 14 Apr 2015 17:05:04 +0200, Angelo Compagnucci wrote:
>> This patch adds web2py package. web2py is a free open source
>> full-stack framework for rapid development of fast, scalable,
>> secure and portable database-driven web-based applications.
>>
>> Signed-off-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
>> ---
>> Changelog:
>>
>> v2 -> v3:
>>  * Fixed systemd service file installation path.
>>  * Fixed dependencies in Config.mk
>>  * Moved to the systemwide installed pydal.
>>  * Moved installation path to /var/www/.
>>
>> v1 -> v2:
>>  * Adding python2 dependency only (suggested by Yegor)
>
> Applied with some minor change:
>
> [Thomas: fixup symbolic link to the systemd service file.]
>
> However, there are two things that I believe should be
> improved/investigated:
>
>  * The installation of web2py on the target is huge: 20 MB. When I look
>    at it, it seems like there's a huge amount of example applications
>    and so on, which don't really make sense to install by default. Can
>    you look at trimming down the installation size to something closer
>    to what people would really need?

Yes, it could be trimmed, it indeed ships with a welcome application
and an examples application, I'll post a patch shortly.

>  * I setup an admin password, but I don't know what to do with. When I
>    connect to http://<myip>:8000, I can see web2py running. If I click
>    on "admin" in the box on the right hand side, it brings me to a
>    blank page that says "Admin is disabled because insecure channel".

It's the default behaviour. Admin interface could be accessed by
https, localhost, or ssh port redirect only. But unfortunately, web2py
doesn't starts if a password is not setted.

Sincerely, Angelo

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo



More information about the buildroot mailing list