[web2py] Installing web2py behind IIS (for Massimo Di Pierro)

2019-02-27 Thread Константин Комков
Massimo Di Pierro, hello. Help me please install web2py behind IIS. Instruction in book don't work. I have old projects and one new. Old projects work, new project open only index page and after ajax call redirect to welcome page. I can not find solution here

Re: [web2py] installing web2py book from git

2019-01-21 Thread Nico Zanferrari
I've already placed the info on the readme.MD on https://github.com/web2py/web2py-book (only the web2py framework version needed is yet missing there) ;-) Il giorno lun 21 gen 2019 alle ore 22:23 黄祥 ha scritto: > @nico > yes you are right > > @vlad > it's embeded when installing python > > j

Re: [web2py] installing web2py book from git

2019-01-21 Thread 黄祥
@nico yes you are right @vlad it's embeded when installing python just an idea, why not put requirements.txt or setup.py in web2py-book app repo, so that people know this app require another python modules best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Docume

Re: [web2py] installing web2py book from git

2019-01-21 Thread Nico Zanferrari
I've learned that if you've installed py2 and py3, using 'pip install module_name' installs a module for py2 only. You need pip3 for installing a module in the py3 libpath ;-) Nico Il giorno lun 21 gen 2019 alle ore 21:54 Eliezer (Vlad) Tseytkin < westgate6...@gmail.com> ha scritto: > Oh, I didn

Re: [web2py] installing web2py book from git

2019-01-21 Thread Eliezer (Vlad) Tseytkin
Oh, I didn't even know that pip was available for Windows - I use it on Linux only. I knew there was a better way :) On Mon, Jan 21, 2019, 3:50 PM 黄祥 indeed tested work (python2 & python3), step for python3 > docker pull ubuntu > docker run -it ubuntu /bin/bash > > apt update > apt install -y git

Re: [web2py] installing web2py book from git

2019-01-21 Thread 黄祥
indeed tested work (python2 & python3), step for python3 docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y git unzip wget python3-pip pip3 install pygments wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip cd web2py/applications git clone h

Re: [web2py] installing web2py book from git

2019-01-21 Thread Eliezer (Vlad) Tseytkin
I was confused a bit about Pygments: I installed it on my Linux quickly, as you just mentioned, but my main dev computer runs Windows, so on Windows I didn't find a better way than to clone their Mercurial repository, extract the code module from there, and dropped it into my web2py folder. That di

Re: [web2py] installing web2py book from git

2019-01-21 Thread Eliezer (Vlad) Tseytkin
Yes, I indeed had the latest, that's what I did exactly, but... Earlier Nico sent me the missing instructions. The current thing needs Pygments - unresolved dependency after just cloning - it's presumably a new thing and needed for the book app to work properly. So I cloned Pygments repository fro

Re: [web2py] installing web2py book from git

2019-01-21 Thread Nico Zanferrari
Hi, in order to show the web pages, the web2py-book requires both a modern web2py framework and the pygments Python module. Unfortunately, there is a stupid bug in the current version of the program that gives that error if you are missing the pygments module. I've already fixed it, and I'm makin

Re: [web2py] installing web2py book from git

2019-01-21 Thread 黄祥
think there are two ways to get the recent version: download the latest or clone the repo wget -c http://web2py.com/examples/static/web2py_src.zip or git clone --recursive https://github.com/web2py/web2py but the problem it's not about the recent version of web2py, no error traceback occured or

Re: [web2py] installing web2py book from git

2019-01-21 Thread Vlad
How do I get the latest w2p?? I mean, I just cloned one from https://github.com/web2py/web2py.git and it still has the earlier one: 2.17.2-stable+timestamp.2018.10.06.11.34.06 On Monday, January 21, 2019 at 12:30:31 AM UTC-5, Nico Zanferrari wrote: > > It indeed works fine... but you need a rec

Re: [web2py] installing web2py book from git

2019-01-20 Thread Nico Zanferrari
It indeed works fine... but you need a recent version of web2py (> 2.5.3 IIRC) for py2 compatibiĺity functions. I'm working on an update for avoiding this specific error. Nico Il giorno Lun 21 Gen 2019, 01:00 黄祥 ha scritto: > tested also got same result, step > docker pull ubuntu > docker run

Re: [web2py] installing web2py book from git

2019-01-20 Thread 黄祥
tested also got same result, step docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y git unzip wget python wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip cd web2py/applications git clone https://github.com/web2py/web2py-book books python

Re: [web2py] installing web2py book from git

2019-01-20 Thread Vlad
Oh, I've tried - renamed into TheBook. It did appear under apps, yet it still doesn't work. Is it supposed to work?? default/index brings up a bunch of languages - the first one being English. Clicking on any of them refreshes the page with the URL now staing "http://127.0.0.1:8000/TheBook/defau

Re: [web2py] installing web2py book from git

2019-01-20 Thread Nico Zanferrari
Hi, I've already noticed this behaviour (also on other applications). It happens if have an application's main folder name that contains non-alphabetical characters, even simple ones like dot or dash For example, web2py-book or examples.20190110 have this problem. Rename the folder to 'book' or

[web2py] installing web2py book from git

2019-01-19 Thread Vlad
I've cloned webpy book from git - looks perfectly fine - it created directory web2py-book under applications, with all the content, just like a few other applications over there, *but* the web2py admin interface doesn't see this book as an app. It sees all other apps located in the applications

[web2py] Installing web2py in IIS 8.5 wwwroot subfolder

2018-03-23 Thread Edwood
I have been successful installing web2py inside "\Inetpub\wwwroot" as the web2py deployment recipe and other resources instruct. But what I am trying to accomplish is to run it from "\Inetpub\wwwroot\web2py". What I am trying to avoid is too fill wwwroot with python files since there are many

[web2py] Installing Web2Py in a directory

2015-07-14 Thread Facundo Médica
I've already installed Web2Py and have it working. Now I want to install it into a directory. The problem: I have other files in the root directory of the domain, called "/var/www/somedomain.com/public_html/". Because Web2Py is installed I can't access those files (phps, images, other directori

[web2py] Installing web2py

2014-02-08 Thread Timo Bahner
Chromebook user here. Install linux besides ChromeOS and use web2py easily: http://www.howtogeek.com/162120/how-to-install-ubuntu-linux-on-your-chromebook-with-crouton/ -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - ht

Re: [web2py] Installing web2py

2014-02-06 Thread Tim Richardson
Pythonanywhere is good. You get a shell so you can edit in the terminal, access github etc. If your budget stretches to USD $5 a month, you can get an entire virtual server from digitalocean.put Ubuntu on it and follow the web2py book. This is more setup work, but you learn more too. In both c

Re: [web2py] Installing web2py

2014-02-05 Thread Nico Zanferrari
You can simply use PythonAnywhere on https://www.pythonanywhere.com , which is also covered in the official documentation ( http://web2py.com/books/default/chapter/29/13/deployment-recipes#Deploying-on-PythonAnywhere ) As they say: "PythonAnywhere is a Python development and hosting environment th

Re: [web2py] Installing web2py

2014-02-05 Thread Richard Vézina
You may try this : https://groups.google.com/d/msg/web2py/dEdQh9tQR9g/_0JQM19IznsJ Though I think the web2py instance get delete on day basis... But you can just pack your app and go over the process again the next day... :) Richard On Tue, Feb 4, 2014 at 1:13 PM, Rahul Choudhary wrote: > I

[web2py] Installing web2py

2014-02-05 Thread Rahul Choudhary
I am using a Chromebook which can run only web based applications. How can i use web2py for development? I cannot download and install. I am a student and I want to learn web development. Is there any way I can use web2py or any other framework? -- Resources: - http://web2py.com - http://web2p

[web2py] installing web2py service on Windows, passing account credentials doesn't work

2013-03-20 Thread wprins
Hi, I'm trying to set up web2py with alternate account credentials via the command line as per the command line help page, but when I pass the specified options web2py claims there's no such option: C:\web2py>python web2py.py -W help web2py Web Framework Created by Massimo Di Pierro, Copyright

[web2py] Installing web2py source libraries, etc.

2012-03-13 Thread David Wong
Hi, I'm trying to install the web2py source code so I can import the modules from any Python program. But I'm having trouble. The setup.py for web2py itself seems to require imports from web2py modules. I'm not sure how to install the libraries so they appear on my Python path. Thanks for any hel