Using Web2Py framework on C9


#1

Is it possible to use the Web2py framework on c9 and if so how? Thanks in advance for any help.


#2

You can run almost anything you can on a Linux distribution on c9. Just follow the normal linux instructions: http://www.web2py.com/books/default/chapter/29/03/overview

Just make sure you use a publicly available port for it (8080, 8081 or 8082). Then your application preview will be able to show web2py. I haven’t used it myself, but according to the documentation here: http://web2py.com/books/default/chapter/29/04/the-core you can just use -p $PORT and it will use the default preview port on C9.*


#3

Yes, that’s what I discovered. I wound up using the command line to set the port and password like this:

python web2py.py -a ‘’ -i 0.0.0.0 -p 8080

Thanks for your response