[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-09-03 Thread Dave S
On Monday, August 29, 2022 at 3:13:02 AM UTC-7 silvia...@gmail.com wrote: > I will run it on a virtual server I think > Sounds like a good choice. Many virtual server providers make provisioning easy. /dps > > snide...@gmail.com schrieb am Montag, 29. August 2022 um 15:14:58 UTC+7: > >> O

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-29 Thread Silvian Cedru
I will run it on a virtual server I think snide...@gmail.com schrieb am Montag, 29. August 2022 um 15:14:58 UTC+7: > On Wednesday, August 24, 2022 at 7:59:43 PM UTC-7 silvia...@gmail.com > wrote: > >> Thanks Tom I will try that >> >> Tom Clerckx schrieb am Mittwoch, 24. August 2022 um 16:53:30 U

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-29 Thread Dave S
On Wednesday, August 24, 2022 at 7:59:43 PM UTC-7 silvia...@gmail.com wrote: > Thanks Tom I will try that > > Tom Clerckx schrieb am Mittwoch, 24. August 2022 um 16:53:30 UTC+7: > >> Not sure what information you're looking for. >> There is no dependency on having an internet connection to deploy

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-24 Thread Silvian Cedru
Thanks Tom I will try that Tom Clerckx schrieb am Mittwoch, 24. August 2022 um 16:53:30 UTC+7: > Not sure what information you're looking for. > There is no dependency on having an internet connection to deploy your > web2py service. > > With respect to deployment itself, you can follow the depl

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-24 Thread Tom Clerckx
Not sure what information you're looking for. There is no dependency on having an internet connection to deploy your web2py service. With respect to deployment itself, you can follow the deployment recipes in the web2py manual. Tom. On Wednesday, August 24, 2022 at 11:49:13 AM UTC+2 silvia...@

[web2py] Web2py deployment on a local so all computers in the network can acess it

2022-08-24 Thread Silvian Cedru
I would like to deploy web2py on a local server but I dont know what to do exactly it will be the local server will not be connected to the Internet so it will be more used as an intranet. Would be great if someone can help me out. -- Resources: - http://web2py.com - http://web2py.com/book (Do

[web2py] Deployment to Openshift dependency

2018-10-22 Thread Michael Buchler
Hi fellow coders I'm having a lot of trouble deploying my app to openshift. Every time I try, it asks for distutils. I've tried to install it, but pip can't find it anywhere. Would appreciate any help. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://githu

[web2py] Re: web2py deployment strategies

2017-07-21 Thread pbreit
There are lots of easy ways to optimize for scaling up. Spend your energy on end user functionality until you run into issues. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Re: web2py deployment strategies

2017-07-21 Thread Jim S
Only if you're using conditional models. -Jim On Thursday, July 20, 2017 at 6:00:45 PM UTC-5, Alex Glaros wrote: > > any performance advantage to moving controller files out of default.py > into their own file? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - htt

[web2py] Re: web2py deployment strategies

2017-07-20 Thread Alex Glaros
any performance advantage to moving controller files out of default.py into their own file? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received

[web2py] Re: web2py deployment strategies

2017-07-20 Thread Anthony
On Thursday, July 20, 2017 at 2:45:09 PM UTC-4, Alex Glaros wrote: > Jim, regarding "That said, if you've got 500 tables in your app, you probably > don't want to use the web2py default table instantiation on every request." > > > 1. did you mean to put db.py model tables into categorized sub ta

Re: [web2py] Re: web2py deployment strategies

2017-07-20 Thread Jim Steil
Yes, the goal is to only load the table definitions that you need. http://web2py.com/books/default/chapter/29/04#markmin_conditional_models we use a form of conditional models along with lazy tables -> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Lazy-Tables--a-maj

[web2py] Re: web2py deployment strategies

2017-07-20 Thread Alex Glaros
Jim, regarding "That said, if you've got 500 tables in your app, you probably don't want to use the web2py default table instantiation on every request." 1. did you mean to put db.py model tables into categorized sub tables - e.g., accounting_related_tables.py, email_related_tables.py, invento

Re: [web2py] Re: web2py deployment strategies

2017-07-20 Thread Jim Steil
Our redis server only has 8GB of ram. We load balance primarily for redundancy, not load. We only have about 100 users actively using our system. It is an internal app for our business. -Jim On Thu, Jul 20, 2017 at 11:46 AM, Chinh Dang wrote: > Our app starts small maybe around 50 tables max

Re: [web2py] Re: web2py deployment strategies

2017-07-20 Thread Chinh Dang
Our app starts small maybe around 50 tables max, but may grow as more features are being added. Planning to use load balancing and failover. Since you use redis, can you give me a ballpark on the memory usage for the amount of traffic you have? My concern is when the redis host runs out of memory.

[web2py] Re: web2py deployment strategies

2017-07-20 Thread Jim S
My philosophy is to not optimize until you need to. That said, if you've got 500 tables in your app, you probably don't want to use the web2py default table instantiation on every request. Any idea what you're traffic will be like? Are you going to load balance? Our main app has over 150 tab

[web2py] web2py deployment strategies

2017-07-20 Thread briannd81
There are several sections in the web2py documentation that showed some strategies to optimize the performance of web2py, i.e. using lazy table, memcache, etc... Should I incorporate some of these strategies on a new deployment of web2py, or should I just stick with the standard configuration

[web2py] Deployment design and CAS

2017-03-20 Thread Pot
Hi all, I am very new to web2py, I am building an accounting system for internal use and a ticketing system for end user. Below are my questions: 1) Should i create 2 web2py applications or 1 application with different controllers to separate the access of accounting and ticketing functions? I

[web2py] Deployment question

2016-08-16 Thread Jim S
Hi I currently have my app deployed using Ubuntu 14.04 / nginx / uwsgi. I have a couple of servers load-balanced behind a haproxy server. I'm running ssl on the haproxy system and talking http to web2y through nginx/uwsgi. Now, I'm trying to upgrade ubuntu to 16.04 and an having issues with

Re: [web2py] Re: web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-06-04 Thread Anthony
No idea, but I think browser coverage is very good, except for some very old systems. Anthony On Friday, June 3, 2016 at 5:47:13 PM UTC-4, Mark Graves wrote: > > Anthony, > > Any idea if the ISRG root CA is included in browsers yet? > > > https://community.letsencrypt.org/t/which-browsers-and-op

Re: [web2py] Re: web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-06-03 Thread Mark Graves
Anthony, Any idea if the ISRG root CA is included in browsers yet? https://community.letsencrypt.org/t/which-browsers-and-operating-systems-support-lets-encrypt/4394 This is the most recent article I could find but it is over 6 months old. -Mark On Fri, May 27, 2016 at 7:31 AM, Anthony wrote:

Re: [web2py] Re: web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-05-27 Thread Anthony
On Friday, May 27, 2016 at 5:39:04 AM UTC-4, Mark Graves wrote: > > Thank Niphlod and Anthony. > > I agree. The technology is not quite mainstream enough to really rely on > yet. > About a month ago, it was already the third largest certificate authority by number of certificates, and since the

Re: [web2py] Re: web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-05-27 Thread Mark Graves
Thank Niphlod and Anthony. I agree. The technology is not quite mainstream enough to really rely on yet. -Mark On Thu, May 26, 2016 at 6:13 AM, Niphlod wrote: > better than http, for sure. Better than self-signed, an order of > magnitude. But still I'd go for 60$ for basic cert for a producti

[web2py] Re: web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-05-26 Thread Niphlod
better than http, for sure. Better than self-signed, an order of magnitude. But still I'd go for 60$ for basic cert for a production site rather than using letsentcypt. On Thursday, May 26, 2016 at 12:11:29 AM UTC+2, Mark Graves wrote: > > Has anyone used LetsEncrypt certificates or followed the

[web2py] Re: web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-05-25 Thread Anthony
Have a look at this client: https://hlandau.github.io/acme/. Anthony On Wednesday, May 25, 2016 at 6:11:29 PM UTC-4, Mark Graves wrote: > > Has anyone used LetsEncrypt certificates or followed the instructions > below with web2py? > > > https://www.digitalocean.com/community/tutorials/how-to-sec

[web2py] web2py deployment: LetsEncrypt Nginx auto renew deployment script

2016-05-25 Thread Mark Graves
Has anyone used LetsEncrypt certificates or followed the instructions below with web2py? https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04 https://www.nginx.com/blog/free-certificates-lets-encrypt-and-nginx/ What are your thoughts of the sta

[web2py] web2py deployment: best security practices?

2015-08-31 Thread pfeil
I'm trying to find the best security practices when deploying web2py to a Linux production environment (either with Apache/mod_wsgi or nginx/uwsgi). The One step production deployment scripts (http://web2py.com/books/default/chapter/29/13#One-step-production-deployment) seem to be out of date c

[web2py] GAE/Google AppEngine problem with web2py: "Deployment successful" but GAE does not launch

2015-07-30 Thread Tom Campbell
My AppEngine ID is memberable0. I copied examples/app.example.yaml to web2py root as app.yaml Only change I made was: application: memberable0 Web2py lives in /Users/tom/Dropbox/work/m/web2py and that path shows successfully in GoogleAppEngineLauncher, which shows port 8081 for the web server (no

[web2py] Deployment Recipe Web2Py on PythonAnywhere

2015-03-31 Thread NeoToren
I have summarized my deployment recipe to PythonAnywhere: http://www.icd10doc.com/init/recipes/DeployWeb2PyPythonAnywhere Hope it helps. NeoToren -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/

[web2py] Web2py deployment with installer script.

2015-02-16 Thread Simon Marshall
Hi All, When installing on a ubuntu server with the install script does it configure the postgresql correctly? if it does what is the default DAL config to use it instead of SQLite? is there any harm in using SQLite in a production environment? Many Thanks, Simon -- Resources: - http://web

[web2py] web2py deployment on open shift by admin

2015-02-07 Thread Ramkrishan Bhatt
HI Everyone, I used web2py admin for openshift application deployment. I got success but still in url openshift welcome page is redirecting. I have configure setup.py also. but i am getting problem to routs my apps in openshift. Why only applications folder is getting include in wsgi folder. tr

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-12-07 Thread peter
Sorry for a late reply to this. I had nginx working under plesk with a live site. My site suddenly crashed after a plesk update. It took me a long time to work out what the problem was. It was that plesk decided to include nginx within their setup. This interacted badly with my nginx setup. My

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-11-14 Thread LightDot
Er... why would you run a VPS deployment script on a server with a working control panel..? I hope you have backups :/ If 1) is still your goal, the best thing you could do now is to try and revert everything the deployment script broke, then rethink your approach. I'd advise you to follow Ples

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-11-14 Thread lesssugar
@LightDot, thanks for your reply. I agree that the first, clean option is the way to go. So, I am trying to make web2py work on Apache, keeping access to Plesk. I will try to make this post up to date, in case anyone has similar issues. First problems that have occurred: 1) After using the dep

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-11-13 Thread LightDot
We've been running Plesk on our servers for more than a decade now but I'm afraid I don't have a ready-made & tested solution for Plesk and web2py. We're phasing Plesk out and a large part of our hosting infrastructure has been moved to a custom solution that's better suited for web2py too, amon

[web2py] web2py deployment: Apache, Nginx and Plesk Panel

2014-11-12 Thread lesssugar
Does anyone have experience with setting up web2py with Plesk Panel preinstalled on the server? I'm using a VPS with one IP. Initially I wanted to setup Nginx with uWSGI, however Plesk won't work in this configuration (it needs Apache). Apache service could be stopped permanently and web2py wi

[web2py] Deployment script for CentOS: apache + mod_wsgi + msql

2014-11-11 Thread lesssugar
Hi, guys, I would like to setup web2py on my CentOS 6.6 and I'm looking for deployment script, as I'm no expert. Apache and MySQL is in place, but I'm looking for relatively painless way to automatically install web2py, configure mod_wsgi etc. Any help? -- Resources: - http://web2py.com - htt

[web2py] Deployment

2014-10-18 Thread Jigar Mistry
Hello everyone, Is this possible to deploy single web2py app on nginx without web2py? Thanks, Jigar Mistry -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues)

[web2py] Deployment of Web2py Framework on Linux redhat version 6 then configure with apache

2014-09-06 Thread Kamal Mohemed
Hi to everyone, I downloaded web2py frame work and run on the web2py default server it is working fine, but we want that should be run with apache server with some different url how to do that? Thanks Kamal Research scientist NRSC, ISRO -- Resources: - http://web2py.com - http://web2py.com/bo

[web2py] Re: Web2py Deployment Script for Ubuntu 14.04

2014-08-16 Thread Ivan Di Giusto
I added Brian's changes, added SSL Rewrite to deal with the /admin page needing SSL, etc. You can run the updated code like this: wget https://raw.githubusercontent.com/ivandigiusto/web2py-install/master/setup-web2py-ubuntu-14.04.sh chmod +x setup-web2py-ubuntu-14.04.sh sudo ./setup-web2py-ubunt

[web2py] Re: Web2py Deployment Script for Ubuntu 14.04

2014-07-18 Thread Brian M
I posted about this a couple weeks ago along with what worked for me ,,https://groups.google.com/forum/#!searchin/web2py/Apache$20Ubuntu%7Csort:date/web2py/o6OGQRQTN6Y/oJJQMGChgpcJ On Friday, July 18, 2014 7:14:18 AM UTC-5, Auden RovelleQuartz wrote: > > This recipe which had worked: > > { > One

Re: [web2py] Web2py Deployment Script for Ubuntu 14.04

2014-07-18 Thread Richard Vézina
You can update the script if you can. Must be a couple of package renamed from Ubuntu side... :) Richard On Fri, Jul 18, 2014 at 8:14 AM, Auden RovelleQuartz wrote: > This recipe which had worked: > > { > One step production deployment > > Here are some steps to install apache+python+mod_wsg

[web2py] Web2py Deployment Script for Ubuntu 14.04

2014-07-18 Thread Auden RovelleQuartz
This recipe which had worked: { One step production deployment Here are some steps to install apache+python+mod_wsgi+web2py+postgresql from scratch. On Ubuntu: wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh chmod +x setup-web2py-ubuntu.sh sudo ./setup-web2py-ubuntu.sh }

[web2py] deployment error

2014-04-13 Thread Richard
Gooed evening, When I call an app on my domain the index view is returned. But having an SSL connection In Chrome I do get the following error (In IE 11 I do not get an error) Any clus what may cause this? I run from the latest source version of web2py. Thank you in advance TICKET ID 213.10.

[web2py] Deployment recipes chapter in book needs new handlers directory

2013-11-06 Thread ptressel
Are we still reporting errata for the book in the forum? (Wasn't sure whether to revive the old thread that asked this.) If so... The deployment recipes chapter in the book... http://web2py.com/books/default/chapter/29/13/deployment-recipes ...has references to wsgihandler.py and fcgihandler.py

[web2py] Deployment questions

2013-10-28 Thread Annet
I read the web2py book's chapter on deployment recipes. My application is now compliant with all efficiency tricks listed here: http://web2py.com/books/default/chapter/29/13/deployment-recipes#Efficiency-tricks I host my app at webfaction. I created a static-only app to serve the files from my

[web2py] deployment on Windows - errors

2013-09-09 Thread Dmitry Ermolaev
If I use web2py.exe from download "For Normal Users" - error on start windows service: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\web2py>web2py -W install -L options.py web2py Web Framework Created by Massimo Di Pierro, Copyright 200

[web2py] deployment to google app engine did not include my static files

2013-08-04 Thread davedigerati
as you can see from here: http://sportssquaresonline.appspot.com/ it did upload most of the static files, specifically 30, but the ones I added, both images and a css file, it did not. any idea why??? deployed both through the web2py admin feature and the GAE Launcher -- --- You received this

Re: [web2py] Re: Problem with web2py deployment on dotcloud

2012-10-11 Thread Massimo Di Pierro
One thing you can do is email the exact ipv6 IP that does not pass validation. I check it on my machine. On Thursday, 11 October 2012 19:06:50 UTC-5, curiouslearn wrote: > > Thanks, Massimo. > > It works with the two lines commented out. > > I would love to help debug this, but unfortunately do

Re: [web2py] Re: Problem with web2py deployment on dotcloud

2012-10-11 Thread Curiouslearn
Thanks, Massimo. It works with the two lines commented out. I would love to help debug this, but unfortunately do not have the knowledge to do so. Right now, I do not even know how to see server errors for which ticket is not generated. Anyhow, I will read up the manual and see if I can learn som

[web2py] Re: Problem with web2py deployment on dotcloud

2012-10-11 Thread Massimo Di Pierro
I double checked and the is_valid_ip_address in trunk is the same as the one you have. I do not know why that fails on dotcloud. You may want to comment these two lines in main: if not is_valid_ip_address(client): raise HTTP(400,"Bad Request (request.client=%s)" % client) Not a big d

[web2py] Re: Problem with web2py deployment on dotcloud

2012-10-11 Thread curiouslearn
Hi Massimo, I think I probably figured what you were saying: Validation passes on localhost, but not on dotcloud because of some problem on their servers. Would appreciate if you let me know whether that is a correct interpretation, before I tell them that it is a problem on their side. On anot

[web2py] Re: Problem with web2py deployment on dotcloud

2012-10-10 Thread curiouslearn
Massimo, thanks for the reply. I would appreciate if you can clarify what I should do since it is not passing validation on dotcloud. Is this a dotcloud problem and should I inform them about this. Or, is it a problem with web2py version 2.0.9 (2012-09-13 23:51:30) stable and should I upgrade

[web2py] Re: Problem with web2py deployment on dotcloud

2012-10-10 Thread Massimo Di Pierro
This is a security measure. Some buggy web servers pass invalid ip addresses and this results in session information leakage. Web2py checks this. In your case it should pass validation. You have an old version and it is possible this is already fixed in trunk. Now the validate function is in g

[web2py] Problem with web2py deployment on dotcloud

2012-10-10 Thread curiouslearn
Hello, I was hosting a web2py application on dotcloud.com with the older version of web2py (I think, 1.99.7, definitely below 2.0). Everything was working great. To host on dotcloud the following steps were necessary and sufficient with that version: (i) Add a dotcloud.yml file to the web2py f

Re: [web2py] web2py deployment: Watchup

2012-07-08 Thread Luther Goh Lu Feng
Please have it released in the Singapore Appstore! On Sunday, July 8, 2012 10:06:36 PM UTC+8, netcode wrote: > > very cool > > On Sun, Jul 8, 2012 at 1:16 AM, Jonathan Lundell wrote: > >> On 7 Jul 2012, at 5:15 PM, Jonathan Lundell wrote: >> > >> > I've written an iPad (only, US-only for now) app,

Re: [web2py] web2py deployment: Watchup

2012-07-08 Thread Chibuzo Ottih
very cool On Sun, Jul 8, 2012 at 1:16 AM, Jonathan Lundell wrote: > On 7 Jul 2012, at 5:15 PM, Jonathan Lundell wrote: > > > > I've written an iPad (only, US-only for now) app, newly in the App > Store, that is powered on the back end by web2py. > > > > The marketing website (SquareSpace, not we

Re: [web2py] web2py deployment: Watchup

2012-07-07 Thread Jonathan Lundell
On 7 Jul 2012, at 5:15 PM, Jonathan Lundell wrote: > > I've written an iPad (only, US-only for now) app, newly in the App Store, > that is powered on the back end by web2py. > > The marketing website (SquareSpace, not web2py): http://watchup.com > > Watchup is designed to make it easy and effic

[web2py] web2py deployment: Watchup

2012-07-07 Thread Jonathan Lundell
I've written an iPad (only, US-only for now) app, newly in the App Store, that is powered on the back end by web2py. The marketing website (SquareSpace, not web2py): http://watchup.com Watchup is designed to make it easy and efficient to create a playlist of news videos and watch them. The back

[web2py] Deployment on VPS with virtualenv

2012-06-16 Thread cyan
I intend to deploy web2py using Nginx and uwsgi on a VPS. On the same server, I also installed virtualenv to manage other python packages needed for my application. At the end of this this setup script,

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Bruno Rocha
sudo chown -R www-data:www-data web2py On Tue, Apr 3, 2012 at 2:51 PM, Mobility wrote: > I did reset the permissions with sudo chmod -R web2py (web2py folder) but > still not working. > > Em terça-feira, 3 de abril de 2012 11h55min44s UTC-3, rochacbruno escreveu: > >> ls -la >> >> *drwx-- 3

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Mobility
I did reset the permissions with sudo chmod -R web2py (web2py folder) but still not working. Em terça-feira, 3 de abril de 2012 11h55min44s UTC-3, rochacbruno escreveu: > > ls -la > > *drwx-- 3 www-data www-data 4096 2012-02-15 01:26 .* > > The line above is the details for the folder the e

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Mobility
I will check it out. Em terça-feira, 3 de abril de 2012 13h39min25s UTC-3, pbreit escreveu: > > Is it a problem that the users directory is "wwwdata" vs "www-data"? > > File "/Users/wwwdata/web2py/gluon/main.py" >

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread pbreit
Is it a problem that the users directory is "wwwdata" vs "www-data"? File "/Users/wwwdata/web2py/gluon/main.py"

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Bruno Rocha
ls -la *drwx-- 3 www-data www-data 4096 2012-02-15 01:26 .* The line above is the details for the folder the ending dot means the current or selected directory. the drwx-- means the permission set, in this case the owner of the folder (www-data) has access do* r*ead, *w*rite, e*x*ecute

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Mobility
Como checo as permissões de execução no folder web2py? Em segunda-feira, 2 de abril de 2012 14h28min46s UTC-3, Ovidio Marinho escreveu: > > Check the permission folder ex. Grpup and owner = www-data > > Em segunda-feira, 2 de abril de 2012, Mobility > escreveu: > > I am new to Web2py. I tried to

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Mobility
Thank you. I did again the chown command on the web2py and check the permissions but it did not work. I still get the same error. I am trying to learn how to deploy web2py on my snow leopard server not to just use to develop. Em segunda-feira, 2 de abril de 2012 21h32min17s UTC-3, pbreit escrev

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-02 Thread pbreit
Yes, I suspect you need to "chown -R www-data:www-data web2py" your web2py directory. Also, if you're just doing development on your mac, you can skip all that and just run web2py directly: $ python web2py.py -a "" -i 127.0.0.1 -p 8001'

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-02 Thread Ovidio Marinho
Check the permission folder ex. Grpup and owner = www-data Em segunda-feira, 2 de abril de 2012, Mobility escreveu: > I am new to Web2py. I tried to deploy it on my Snow Leopard Server running Mac OS X Server 10.6.8. I have already installed on the server the wsgi module which I use with a Django

[web2py] Deployment web2py Snow Leopard Server error

2012-04-02 Thread Mobility
I am new to Web2py. I tried to deploy it on my Snow Leopard Server running Mac OS X Server 10.6.8. I have already installed on the server the wsgi module which I use with a Django app. I installed web2py on the server following the guidelines on the deployment chapter of the Web2py Book (4th ed

[web2py] Deployment sqlite question

2012-04-01 Thread rdodev
Folks, I've a question. I'm using a semi automated approach to deploying my app. I manage my code through a private BitBucket repo. On my server I have a cron job checking for changes a few times per day. When it finds changes in the repo stops apache (mod_wsgi), pulls source, restarts apache.

[web2py] deployment

2012-02-17 Thread shartha
Please forgive me if this question is naïve. This is my first try to instal web2py on a Linux host that supports wsgi. My best bet was to do the same as: http://web2py.pythonanywhere.com/welcome/default/index But when I run the echo command, I got an error that the /var/www/ wsgi.py directory

[web2py] Re: urllib2.urlopen(url) – creating exception in GAE, if the url points to an app of the same web2py deployment

2012-01-30 Thread sabbir
#x27;# this raise error > url = 'http://google.com'# this is fine > > result= urllib2.urlopen(url) > # this raise a exception here if URL points to the any app in the > web2py deployment > > result= result.read() > return result > > he

[web2py] urllib2.urlopen(url) – creating exception in GAE, if the url points to an app of the same web2py deployment

2012-01-30 Thread sabbir
lcome/default/index' # this raise error url = 'http://google.com' # this is fine result= urllib2.urlopen(url) # this raise a exception here if URL points to the any app in the web2py deployment result= result.read() return result here is the exception de

[web2py] Deployment problem on dotcloud with PostgreSQL

2011-12-24 Thread Thomas Dall'Agnese
Ticket report: syntax error at or near "user" LINE 4: user INTEGER REFERENCES auth_user(id) ON DELETE CASCADE, ^VERSIONweb2py™(1, 99, 4, datetime.datetime(2011, 12, 14, 14, 46, 14), 'stable')PythonPython 2.6.5: /home/dotcloud/rsync-1324797830040/TRACEBACK 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12

[web2py] deployment problem with mod_wsgi

2011-12-18 Thread Web2Py Freak
Dear All, i am trying to use mod_wsgi with apache on fedora i installed web2py in var/www/ and i unzipped it , and i edited the httpd.conf and added the virtual host script but it keeps giving me this error with i do "$ service httpd start " the error is : bad user name : root@linux what to do i

[web2py] My latest lazy web2py deployment

2011-10-31 Thread Casey Schroeder
Keywords: SQLFORM.grid, GAE, fluxflex, Amazon SQLFORM.grid is great. Love it and use it. However, i loved it so much i left GAE to use it (for now). GAE has search limitations as it is on free text and the use of OR - which puts a damper on the out of the box .grid web2py functionality and cust

[web2py] deployment problem on CentOS 5.5, Python 2.7, with Apache + mod_wsgi

2011-05-09 Thread ivytony
I follow this guide http://www.web2py.com/book/default/chapter/11, trying to set up web2py on my test VPS server, however, I got problem when trying to start it by running ./web2py.fedora.sh start in web2py/ scripts folder via SSH. Below is the error message: Starting Web2py Daemon (web2pyd): [roo

[web2py] Re: Help review the DotCloud web2py deployment tutorial

2011-02-02 Thread Massimo Di Pierro
The warning is accurate. Disabling session.secure() is not a good idea. Admin and appadmin should not be used without SSL or your admin cookies can be stolen and used to gain remote access to your web application. Massimo On Feb 2, 3:17 pm, Anthony wrote: > The DotCloud deployment tutorial for

[web2py] Help review the DotCloud web2py deployment tutorial

2011-02-02 Thread Anthony
The DotCloud deployment tutorial for web2py ( http://docs.dotcloud.com/static/tutorials/web2py/) includes the following warning. Is this accurate? If so, can we offer a simple fix? When deploying third-party web2py appliances, you should switch from the default Sqlite backend to PostgreSQL or M

Re: [web2py] Deployment Confusion

2011-01-29 Thread Bruno Rocha
I suggest you webfaction.comthe easiest web2py hosting provider, you can easily setup many applications, manage its version, you have access to shell via ssh, ftp. webfaction has a very nice way to manage your applications separate

[web2py] Deployment Confusion

2011-01-29 Thread g...@rtplanb.com
I have been happily designing my business website for a while now. Web2Py is very easy to use and has been a brilliant way to learn html, css and a bit of java. I am getting close to wanting to deploy the first version of m site but honestly, after reading the deployment section of the web2py book

Re: [web2py] Deployment of web2py on an intranet

2010-12-07 Thread rochacbruno
Firewall ? Are you using Windows? Windows firewall is enabled? Enviado via iPhone Em 07/12/2010, às 09:28, Rupesh Pradhan escreveu: > I have two computers networked together using LAN cable with name > 'server'(192.168.0.1) and 'machine01'(192.168.0.2) > > I have installed web2py on the 'serv

[web2py] Deployment of web2py on an intranet

2010-12-07 Thread Rupesh Pradhan
I have two computers networked together using LAN cable with name 'server'(192.168.0.1) and 'machine01'(192.168.0.2) I have installed web2py on the 'server'. After running the 'web2py_no_console' on the server (the http://localhost:8000 shows the welcome page), I tried to access the webpage throug

[web2py] Re: Stress testing a web2py deployment

2010-11-13 Thread Luther Goh Lu Feng
Thank you very much. This does indeed seem like a useful tool. I will research more into it. The web2py installation was running on a 128mb Xen vps. As mentioned earlier, we used apache to reverse proxy. We had 17 users login at the 1st try simultaneously. Just trying to access the login page of o

[web2py] Re: Stress testing a web2py deployment

2010-11-13 Thread VP
Have you tried apache bench (ab)? > ab -kc 100 -t 30 http://example.com this would bombard your site for 30 seconds with 100 connections. On Nov 12, 2:01 am, Luther Goh Lu Feng wrote: > > Quick question: is there a way to simulate a stress test to find the > upper limits of performance without

[web2py] Re: Stress testing a web2py deployment

2010-11-12 Thread Luther Goh Lu Feng
Which data are you referring to? I am unsure what you wish me to share. On Nov 12, 10:02 pm, mdipierro wrote: > Can you share some data? > > On Nov 12, 2:01 am, Luther Goh Lu Feng wrote: > > > > > > > > > My colleague did a deployment of web2py using today using apache as a > > reverse proxy. Th

[web2py] Re: Stress testing a web2py deployment

2010-11-12 Thread mdipierro
Can you share some data? On Nov 12, 2:01 am, Luther Goh Lu Feng wrote: > My colleague did a deployment of web2py using today using apache as a > reverse proxy. The demo setup performed quite badly. And was resolved > by using nginx in place of apache. > > Quick question: is there a way to simulat

[web2py] [OT] Stress testing a web2py deployment

2010-11-12 Thread Luther Goh Lu Feng
My colleague did a deployment of web2py using today using apache as a reverse proxy. The demo setup performed quite badly. And was resolved by using nginx in place of apache. Quick question: is there a way to simulate a stress test to find the upper limits of performance without using real users?

[web2py] Deployment using Rocket Server only on shared hosting - cpanel

2010-09-24 Thread Rahul
Hi , I have a question. Cant we simply deploy web2py with Rocket only. Not using Apache or any other server to server any requests? Is this possible? Has anyone tried it before? If yes please please let us know how can we achieve it on shared env which we have shell access + virtualenv but no r

[web2py] Deployment problem (apache2 mod_wsgi)

2010-09-13 Thread Johann Spies
For me the deployment of web2py seems to be a recurring problem. I am trying to deploy web2py on a Debian system but not as 'default' . I have root access to the system. I have tried both the example in the book as well as a modified version of the ubuntu/debian-setup-script but I only get a dire

[web2py] deployment problem

2010-09-03 Thread VP
followed the instructions to install it on a ubuntu (10.04) server. AFter installation, I opened up the link to: welcome/default/index this is the error: Internal error Ticket issued: unrecoverable == I couldn't view the ticket on the browser and I have no idea where that ticket is on the serv

[web2py] Deployment - SSL certificate under Windows

2010-05-06 Thread greenpoise
I had removed the post thinking that I got it working but nah. I cant set web2py on Windows. I get an error message that it cant find the certificate files. Is there a way around this? or do I need a certificate and how do I make one?? I tried going from the book but the certificate part is under l

[web2py] Deployment - SSL certificate under Windows

2010-05-06 Thread greenpoise
I got the 2nd edition of the book yesterday and I am stuck in this part. How to make a SSL certificate for windows deployment? more than production, this is for production/intranet. This is the only error Apache throws. I tried removing it but the certificate is necessary. What is the procedure?

Re: [web2py] Deployment Recipes Page 281

2010-05-05 Thread Thadeus Burgess
The apt with super cow powers on a Mac! (eyes grow big in astonishment!) BLASPHEMY. -- Thadeus On Wed, May 5, 2010 at 2:56 PM, Yannick wrote: > Hello mate, > Sorry to bug you with that...it may be an offline question... Maybe > this is pretty easy but i was wondering the book give an exa

[web2py] Deployment Recipes Page 281

2010-05-05 Thread Yannick
Hello mate, Sorry to bug you with that...it may be an offline question... Maybe this is pretty easy but i was wondering the book give an example of how to deploy web2py, Apache on Linux and so on... I was wondering if there is an installation guide for macOS deployment as well ??? I tried to follow