1 | ## Readme |
---|
2 | |
---|
3 | web2py is a free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. |
---|
4 | |
---|
5 | It is written and programmable in Python. LGPLv3 License |
---|
6 | |
---|
7 | Learn more at http://web2py.com |
---|
8 | |
---|
9 | ## Google App Engine deployment |
---|
10 | |
---|
11 | cp examples/app.yaml ./ |
---|
12 | cp handlers/gaehandler.py ./ |
---|
13 | |
---|
14 | Then edit ./app.yaml and replace "yourappname" with yourappname. |
---|
15 | |
---|
16 | ## Important reminder about this GIT repo |
---|
17 | |
---|
18 | An 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 | |
---|
20 | The 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 | |
---|
24 | If you have an existing repository, the commands below need to be executed at least once: |
---|
25 | |
---|
26 | git submodule update --init --recursive |
---|
27 | |
---|
28 | If you have a folder gluon/dal you must remove it: |
---|
29 | |
---|
30 | rm -r gluon/dal |
---|
31 | |
---|
32 | PyDAL 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 | [](http://web2py.rtfd.org/) |
---|
38 | |
---|
39 | ## Tests |
---|
40 | |
---|
41 | [](https://travis-ci.org/web2py/web2py) |
---|
42 | [](https://ci.appveyor.com/project/web2py/web2py) |
---|
43 | [](https://codecov.io/github/web2py/web2py) |
---|
44 | |
---|
45 | |
---|
46 | ## Installation Instructions |
---|
47 | |
---|
48 | To start web2py there is NO NEED to install it. Just unzip and do: |
---|
49 | |
---|
50 | python web2py.py |
---|
51 | |
---|
52 | That'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 | |
---|
100 | Report issues at https://github.com/web2py/web2py/issues |
---|