Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-07-10 Thread Diogo Munaro
It's working now with '3º fail' that I describe. I'm using fake_migrate_all with previews version and migrate with new version Thx for all helpers! Em quarta-feira, 9 de julho de 2014 19h00min33s UTC-3, Diogo Munaro escreveu: > > I'm with some problems here... I really hate .table files. > > T

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-07-09 Thread Diogo Munaro
I'm with some problems here... I really hate .table files. That's my deploy routine: 1. download web2py from src 2. get my application from git and put inside web2py 3. remove some unused folders 4. backup my database 5. migrate my database structure *(that's the point!!)* 6. if

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-27 Thread Diogo Munaro
Thx massimo... I will plain a deploy structure and then I'll post here. Perhaps web2py migration just need read database structure and view diff between database structure and model structure. Have you thought about that? It sound great for deploy! Couldn't be? 2014-05-27 1:26 GMT-03:00 Massimo

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-26 Thread Massimo Di Pierro
If migrate_enabled=False then .table files are ignored. You can use command line tools. If you create a applications/yourapp/DISABLED file, your app is temporarily disabled. If you run python web2py.py -S web2py -M -R anyscript.py your script anyscript.py will run as if it were a controller.

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-26 Thread Diogo Munaro
Thx Massimo, but I need other .tables inside deploy version? i.e: I have my production version with x db structure, but my new production version have x+1 db structure. I need x .tables inside my deploy? Could I make migrate without access page? Could I use any command line tools? 2014-05-26 12:

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-26 Thread Massimo Di Pierro
They are automatic in web2py. They only problem you may incur in is that if you have multiple web2py instances accessing the server, multiple instances may initiate the migrations concurrently. Normally you handle this at the application level. You set migrate_enabled=False and when you deploy a

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-26 Thread kato
I do not know would be helpful, but there is recipe for Beanstalk. Please use the Google translater, because it is Japanese. http://docs1.erp2py.com/web2py_deploy/aws_beanstalk/aws_beanstalk.html#id4 2014年5月24日土曜日 12時47分38秒 UTC-3 Diogo Munaro: > > But how could I manage migrates? How could I m

Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-24 Thread Diogo Munaro
But how could I manage migrates? How could I make migrates on deploy? Em 24/05/2014 04:02, "Massimo Di Pierro" escreveu: > There is nothing equivalent to this in web2py. You just remove that line. > > On Thursday, 22 May 2014 12:43:59 UTC-5, Diogo Munaro wrote: >> >> >> Hey Massimo, and how could