[web2py] root_static mapped to CDN

2021-01-05 Thread App Jar
Is there a way to map root_static files like /favicon.ico to get served from an external CDN URL rather than /static without modifying gluon/rewrite.py? Instead of serving form myapp/static/favicon.ico I want to serve it from: https://mys3bucket/static/favicon.ico When deploying to a AWS Lamb

[web2py] Password field getting cleared

2019-10-10 Thread App Jar
Is there a way to keep the auth password and password_two fields from getting cleared when the auth register form has errors in it? Every time there is an error in my form both fields get cleared requiring the user to enter the password again twice, once for each field. I can keep the password

[web2py] Re: AWS Lambda Deployment Recipe

2019-09-18 Thread App Jar
Here is how I set up my db to work with RDS. Note: res-combined-ca-bundle.pem is the public key for RDS found here: https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem. driver_args = { 'ssl':{ 'ca': 'applications/ads/private/ssl/rds-combined-ca-bundle.pem'} } db_auth = 'mysql://u

[web2py] Re: AWS Lambda Deployment Recipe

2019-09-17 Thread App Jar
Unfortunately no. I access the admin from localhost (my dev machine) I also have an AWS CloudWatch alarm to trigger on an error in the CloudWatch logs and invoke a different lambda (running a python script) that writes the ticket to an error table in the DB so I can see those error tickets.

[web2py] Re: AWS Lambda Deployment Recipe

2019-08-21 Thread App Jar
Hi Jaime, I now have 4 production web2py apps that have been up and running on Lambda for many months now with no issues. It is easily maintainable and I can update/deploy with a single command line: zappa update As for the databases, the DB doesn't have to be AWS. You can connect to any datab

Re: [web2py] Re: AWS Lambda Serverless and Zappa

2019-04-23 Thread App Jar
Hey David, sorry for the delay. I rarely check this email. I'd be happy to talk with you about some of this issues I ran into via phone or email. Let me know, m...@appjar.biz. On Fri, Mar 22, 2019 at 5:29 AM David Orme wrote: > Hi, > > Just wanted to ask about that recipe. I'm using web2py to