[web2py] Re: hello and a question about deployment

2018-12-03 Thread appjarbiz
It really depends on your use case. I've deployed production Web2py on dedicated server, Heroku, and now AWS Lambda (Serverless). Heroku gives you the best metrics and ops, but If I had to do it again, I would do them all on AWS Lambda due to the reduced cost during down time and the auto-sca

[web2py] Re: hello

2017-07-13 Thread Dave S
On Thursday, July 13, 2017 at 1:04:17 PM UTC-7, Marlysson Silva wrote: > > To handle with databases use the PyDal. > For an easy example, look at http://web2py.com/books/default/chapter/29/03/overview#An-image-blog> For deeper explanation and more examples: http://web2py.com/books/default/chapt

[web2py] Re: hello

2017-07-13 Thread Marlysson Silva
To handle with databases use the PyDal. Em quinta-feira, 13 de julho de 2017 14:04:09 UTC-3, Navaf escreveu: > > hello, i'm new in Python. > > sorry with my grematic , my natal idiome is Spanish > i'm worked in JAVA, C# EntityFramework ASP.NET, Mysql , Sql server > and firebase > > i have a

[web2py] Re: hello all and a minor typo

2015-11-16 Thread Niphlod
there is no facility to queue a task (or any a piece of code) only at the first request consistently. This doesn't mean that it isn't possible, just that there's not any easy machinery to do so. on top of my head: - queue the task just before launching web2py - queue the task every once in a whi

[web2py] Re: hello all and a minor typo

2015-11-16 Thread noam cohen
Where is the recommended location to add the queue_task() so it runs exactly once when my app starts? I thought about .../applications/my_app/__init__.py but it was called TWICE (once by the web server and once by the scheduler, if I got it right) I could of course check if the task is already

[web2py] Re: hello all and a minor typo

2015-11-15 Thread Niphlod
yes, it's a typo. Regarding the latter, the excerpt is To enable the scheduler you must instantiate the Scheduler class in a model. The recommended way to enable the scheduler to your app is to create a model file named scheduler.py and define your function there. After the functions, you can

[web2py] Re: Hello World!

2014-12-24 Thread Massimo Di Pierro
Feel free to ask questions. It is magical but not as much as it may seem. On Wednesday, 24 December 2014 03:55:46 UTC-6, Gyanendra Mishra wrote: > > I just wanted to say hi to the community. > Hi! > The framework looks magical currently and I want to reduce that magic.I > don't feel that I am in

[web2py] Re: Hello i need help in web2py

2011-12-01 Thread Alan Etkin
>Then I am trying create the code. But fault some details Is there any error output? It would be better if you posted a relevant model section too. Doesn't this raise an AttributeError?: >getattr (db [table] id_field)> 0 i think it must be: getattr(db[table],id_field, 0)> 0 On Nov 30, 8:17 am

[web2py] Re: hello

2010-05-13 Thread Graham Dumpleton
On May 13, 8:51 pm, ciprian wrote: > thanks for trying to help. but i already spent two days trying to > figure it out. i can install web2py with no problems - but i dont have > too much experience withmod_wsgi(google doesnt help) no web2py > tutorials and i guess this is the end. i really need

[web2py] Re: hello

2010-05-13 Thread Pepe
http://alexandremas.blogspot.com/2010/02/como-configurar-web2py-e-php-no-mesmo.html On May 13, 9:40 am, mdipierro wrote: > Did you look at that web2py/scripts/stup-web2py-ubuntu.sh? > > On May 13, 5:51 am, ciprian wrote: > > > > > thanks for trying to help. but i already spent two days trying to

[web2py] Re: hello

2010-05-13 Thread mdipierro
Did you look at that web2py/scripts/stup-web2py-ubuntu.sh? On May 13, 5:51 am, ciprian wrote: > thanks for trying to help. but i already spent two days trying to > figure it out. i can install web2py with no problems - but i dont have > too much experience with mod_wsgi (google doesnt help) no we

[web2py] Re: hello

2010-05-13 Thread ciprian
thanks for trying to help. but i already spent two days trying to figure it out. i can install web2py with no problems - but i dont have too much experience with mod_wsgi (google doesnt help) no web2py tutorials and i guess this is the end. i really need to run php too on the same apache but i cant

[web2py] Re: hello

2010-05-12 Thread ciprian
anyone please? any tip ? On May 11, 5:39 pm, ciprian wrote: > i used this script to install > web2py:http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh > > so i have everything in www-data > and everything works fine. > > now..what do i have to install to make php work on the same f