source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/README.markdown

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 3.8 KB
Line 
1## Readme
2
3web2py is a free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications.
4
5It is written and programmable in Python. LGPLv3 License
6
7Learn more at http://web2py.com
8
9## Google App Engine deployment
10
11    cp examples/app.yaml ./
12    cp handlers/gaehandler.py ./
13
14Then edit ./app.yaml and replace "yourappname" with yourappname.
15
16## Important reminder about this GIT repo
17
18An important part of web2py is the Database Abstraction Layer (DAL). In early 2015 this was decoupled into a separate code-base (PyDAL). In terms of git, it is a sub-module of the main repository.
19
20The use of a sub-module requires a one-time use of the --recursive flag for git clone if you are cloning web2py from scratch.
21
22    git clone --recursive https://github.com/web2py/web2py.git
23
24If you have an existing repository, the commands below need to be executed at least once:
25
26    git submodule update --init --recursive
27
28If you have a folder gluon/dal you must remove it:
29
30    rm -r gluon/dal
31
32PyDAL uses a separate stable release cycle to the rest of web2py. PyDAL releases will use a date-naming scheme similar to Ubuntu. Issues related to PyDAL should be reported to its separate repository.
33
34
35## Documentation (readthedocs.org)
36
37[![Docs Status](https://readthedocs.org/projects/web2py/badge/?version=latest&style=flat-square)](http://web2py.rtfd.org/)
38
39## Tests
40
41[![Build Status](https://img.shields.io/travis/web2py/web2py/master.svg?style=flat-square&label=Travis-CI)](https://travis-ci.org/web2py/web2py)
42[![MS Build Status](https://img.shields.io/appveyor/ci/web2py/web2py/master.svg?style=flat-square&label=Appveyor-CI)](https://ci.appveyor.com/project/web2py/web2py)
43[![Coverage Status](https://img.shields.io/codecov/c/github/web2py/web2py.svg?style=flat-square)](https://codecov.io/github/web2py/web2py)
44
45
46## Installation Instructions
47
48To start web2py there is NO NEED to install it. Just unzip and do:
49
50    python web2py.py
51
52That's it!!!
53
54## web2py directory structure
55
56    project/
57        README
58        LICENSE
59        VERSION                    > this web2py version
60        web2py.py                  > the startup script
61        anyserver.py               > to run with third party servers
62        ...                        > other handlers and example files
63        gluon/                     > the core libraries
64            packages/              > web2py submodules
65              dal/
66            contrib/               > third party libraries
67            tests/                 > unittests
68        applications/              > are the apps
69            admin/                 > web based IDE
70                ...
71            examples/              > examples, docs, links
72                ...
73            welcome/               > the scaffolding app (they all copy it)
74                ABOUT
75                LICENSE
76                models/
77                views/
78                controllers/
79                sessions/
80                errors/
81                cache/
82                static/
83                uploads/
84                modules/
85                cron/
86                tests/
87            ...                    > your own apps
88        examples/                  > example config files, mv .. and customize
89        extras/                    > other files which are required for building web2py
90        scripts/                   > utility and installation scripts
91        handlers/
92            wsgihandler.py         > handler to connect to WSGI
93            ...                    > handlers for Fast-CGI, SCGI, Gevent, etc
94        site-packages/             > additional optional modules
95        logs/                      > log files will go in there
96        deposit/                   > a place where web2py stores apps temporarily
97
98## Issues?
99
100Report issues at https://github.com/web2py/web2py/issues
Note: See TracBrowser for help on using the repository browser.