EnglishFrenchSpanish

OnWorks favicon

web2py - Online in the Cloud

Run web2py in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command web2py that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


web2py - web2py Web Framework server launcher

SYNOPSIS


web2py [options]

DESCRIPTION


web2py is a the startup script to launch web2py server running applications located the
current directory. If the user has not write permissions on this directory, web2py will
server applications located at ~/web2py

ATTENTION: unless --nogui option or a password is specified (-a "passwd") web2py will
attempt to run a GUI. In this case command line options are ignored.

OPTIONS


These programs follow the usual GNU command line syntax, with long options starting with
two dashes (`-'). A summary of options is included below. For a complete description,
see the Info files.

--version
Show version of program and exit.

-h, --help
Show summary of options and exit.

-i IP, --ip=IP
Ip address of the server (defaults: 127.0.0.1)

-p PORT, --port=PORT
Port of server (defaults:8000)

-a PASSWORD, --password=PASSWORD
Password to be used for administration (use -a "<recycle>" to reuse the last
password))

-c SSL_CERTIFICATE, --ssl_certificate=SSL_CERTIFICATE
File that contains ssl certificate

-k SSL_PRIVATE_KEY, --ssl_private_key=SSL_PRIVATE_KEY
File that contains ssl private key

-d PID_FILENAME, --pid_filename=PID_FILENAME
File to store the pid of the server

-l LOG_FILENAME, --log_filename=LOG_FILENAME
File to log connections

-n NUMTHREADS, --numthreads=NUMTHREADS
Number of threads (deprecated)

--minthreads=MINTHREADS
Minimum number of server threads

--maxthreads=MAXTHREADS
Maximum number of server threads

-s SERVER_NAME, --server_name=SERVER_NAME
Server name for the web server

-q REQUEST_QUEUE_SIZE, --request_queue_size=REQUEST_QUEUE_SIZE
Max number of queued requests when server unavailable

-o TIMEOUT, --timeout=TIMEOUT
Timeout for individual request (Defaults: 10 seconds)

-z SHUTDOWN_TIMEOUT, --shutdown_timeout=SHUTDOWN_TIMEOUT
Timeout on shutdown of server (Defaults: 5 seconds)

-f FOLDER, --folder=FOLDER
Folder from which to run web2py

-v, --verbose
Increase --test verbosity

-Q, --quiet
Disable all output

-D DEBUGLEVEL, --debug=DEBUGLEVEL
Set debug output level (0-100, 0 means all, 100 means none; default is 30)

-S APPNAME, --shell=APPNAME
Run web2py in interactive shell or IPython (if installed) with specified appname
(if app does not exist it will be created).

-P, --plain
Only use plain python shell; should be used with --shell option

-M, --import_models
Auto import model files; default is False; should be used with --shell option

-R PYTHON_FILE, --run=PYTHON_FILE
Run PYTHON_FILE in web2py environment; should be used with --shell option

-T TEST_PATH, --test=TEST_PATH
Run doctests in web2py environment; TEST_PATH like a/c/f (c,f optional)

-C, --cron
Trigger a cron run manually; usually invoked from a system crontab

--softcron
Triggers the use of softcron

-N, --no-cron
Do not start cron automatically

-J, --cronjob
Identify cron-initiated command

-L CONFIG, --config=CONFIG
Config file

-F PROFILER_FILENAME, --profiler=PROFILER_FILENAME
Profiler filename

--nogui
Text-only, no GUI

-A ARGS, --args=ARGS
Should be followed by a list of arguments to be passed to script, to be used with
-S, -A must be the last option

--interfaces=INTERFACES
Allows multiple interfaces to be served

AVAILABILITY


The latest version of web2py can always be obtained from
http://www.web2py.com/examples/default/download

DOCUMENTATION


The Official web2py book is available at http://www.web2py.com/book

Use web2py online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad