Re: [web2py] Re: Standalone application (mac/win)

2012-08-21 Thread Khalil KHAMLICHI
with apache installed you don't have to worry about starting services or
restarting them, its all handled for you for free ! also apache is a very
solid and well tested platform.

On Tue, Aug 21, 2012 at 4:44 PM, Alan Etkin  wrote:

> Do you want to use web2py features from a desktop application?
>
> For importing web2py features from other software there is
> https://github.com/mdipierro/gluino
> For wxPython and web2py integration check 
> gui2py
>
> If you just want your web2py to be available in a given network, you can
> start web2py with it's built-in server and use links to the machine on each
> host so they can access the web interface with a standard browser.
>
>  --
>
>
>
>

-- 





[web2py] Re: Standalone application (mac/win)

2012-08-21 Thread Alan Etkin
Do you want to use web2py features from a desktop application?

For importing web2py features from other software there is 
https://github.com/mdipierro/gluino
For wxPython and web2py integration check 
gui2py

If you just want your web2py to be available in a given network, you can 
start web2py with it's built-in server and use links to the machine on each 
host so they can access the web interface with a standard browser.

-- 





Re: [web2py] Re: Standalone application (mac/win)

2012-08-21 Thread Khalil KHAMLICHI
On windows I
1) download web2py source,
2) install apache (as described in book with wsgi module -don't install
certificates if you don't need admin enabled on client machine--)
and my web2py app is up and running  (you need to create a shortcut of
course)
I believe should be same thing for mac os.

this is one of the best things about web2py, its just ready for deployment
on any platform.

if you still have trouble setting this up (should take like 30 minutes for
first time) just ask here again.


On Tue, Aug 21, 2012 at 9:11 AM, mmstud  wrote:

> I added all old gluon directory code to the site-packages directory and
> made it to work.
>
>
> maanantai, 20. elokuuta 2012 15.08.27 UTC+3 mmstud kirjoitti:
>
>> Is it possible to create easy to use standalone web2py application for
>> mac and win users? I have registry application and remote database which
>> should be available for clients. I'm searching for a solution where user
>> just clicks the application icon and then browser (maybe internal?) starts
>> up to the correct localhostaddress. Then users signs in to the application
>> and uses it.
>>
>> Regards,
>> -Marko
>>
>  --
>
>
>
>

-- 





[web2py] Re: Standalone application (mac/win)

2012-08-21 Thread mmstud
I added all old gluon directory code to the site-packages directory and 
made it to work.

maanantai, 20. elokuuta 2012 15.08.27 UTC+3 mmstud kirjoitti:
>
> Is it possible to create easy to use standalone web2py application for mac 
> and win users? I have registry application and remote database which should 
> be available for clients. I'm searching for a solution where user just 
> clicks the application icon and then browser (maybe internal?) starts up to 
> the correct localhostaddress. Then users signs in to the application and 
> uses it.
>
> Regards,
> -Marko
>

-- 





[web2py] Re: Standalone application (mac/win)

2012-08-20 Thread mmstud
My original application is done few years ago and some things has changed, 
so I'm getting an error when importing application to the a new web2py. 
Maybe someone can help what to do with library gluon:

Traceback (most recent call last):
  File "gluon/restricted.py", line 205, in restricted
  File 
"/Users/markom/Downloads/web2py/web2py.app/Contents/Resources/applications/yllapito/models/forms.py"
 , line 1, 
in 
  File "gluon/custom_import.py", line 293, in __call__
  File "gluon/custom_import.py", line 78, in __call__
ImportError: No module named htmlextended


I placed whole gluon directory to the web2py root, maybe it needs to be 
imported somewhere? I'm using gluon/htmlextended.py library on forms.py 
model file...

-Marko


maanantai, 20. elokuuta 2012 15.08.27 UTC+3 mmstud kirjoitti:
>
> Is it possible to create easy to use standalone web2py application for mac 
> and win users? I have registry application and remote database which should 
> be available for clients. I'm searching for a solution where user just 
> clicks the application icon and then browser (maybe internal?) starts up to 
> the correct localhostaddress. Then users signs in to the application and 
> uses it.
>
> Regards,
> -Marko
>

-- 





[web2py] Re: Standalone application (mac/win)

2012-08-20 Thread mmstud
Maybe this is all I need, is documentation update?

http://web2py.com/books/default/chapter/29/14#How-to-distribute-your-applications-as-binaries

maanantai, 20. elokuuta 2012 15.08.27 UTC+3 mmstud kirjoitti:
>
> Is it possible to create easy to use standalone web2py application for mac 
> and win users? I have registry application and remote database which should 
> be available for clients. I'm searching for a solution where user just 
> clicks the application icon and then browser (maybe internal?) starts up to 
> the correct localhostaddress. Then users signs in to the application and 
> uses it.
>
> Regards,
> -Marko
>

--