
web2py/web2py @ e94946d
web2py è un framework full-stack open source gratuito per lo sviluppo rapido di applicazioni web basate su database, veloci, scalabili, sicure e portabili.
È scritto e programmabile in Python. Licenza LGPLv3
Maggiori informazioni su http://web2py.com
cp examples/app.yaml ./
cp handlers/gaehandler.py ./
Quindi modifica ./app.yaml e sostituisci "yourappname" con yourappname.
Una parte importante di web2py è il Database Abstraction Layer (DAL). All'inizio del 2015 è stato separato in un code-base distinto (PyDAL). In termini di git, si tratta di un sottomodulo del repository principale.
L'uso di un sottomodulo richiede l'uso una tantum del flag --recursive per git clone se stai clonando web2py da zero.
git clone --recursive https://github.com/web2py/web2py.git
Se hai un repository esistente, i comandi seguenti devono essere eseguiti almeno una volta:
git submodule update --init --recursive
Se hai una cartella gluon/dal devi rimuoverla:
rm -r gluon/dal
PyDAL utilizza un ciclo di rilascio stabile separato dal resto di web2py. I rilasci di PyDAL useranno uno schema di denominazione basato sulle date simile a Ubuntu. I problemi relativi a PyDAL vanno segnalati al suo repository separato.
Per avviare web2py NON È NECESSARIO installarlo. Basta decomprimere e fare:
python web2py.py
Tutto qui!!!
project/
README
LICENSE
VERSION > this web2py version
web2py.py > the startup script
anyserver.py > to run with third party servers
... > other handlers and example files
gluon/ > the core libraries
packages/ > web2py submodules
dal/
contrib/ > third party libraries
tests/ > unittests
applications/ > are the apps
admin/ > web based IDE
...
examples/ > examples, docs, links
...
welcome/ > the scaffolding app (they all copy it)
ABOUT
LICENSE
models/
views/
controllers/
sessions/
errors/
cache/
static/
uploads/
modules/
cron/
tests/
... > your own apps
examples/ > example config files, mv .. and customize
extras/ > other files which are required for building web2py
scripts/ > utility and installation scripts
handlers/
wsgihandler.py > handler to connect to WSGI
... > handlers for Fast-CGI, SCGI, Gevent, etc
site-packages/ > additional optional modules
logs/ > log files will go in there
deposit/ > a place where web2py stores apps temporarily
Segnala problemi su https://github.com/web2py/web2py/issues