
web2py/web2py @ e94946d
web2py는 빠르고, 확장 가능하며, 안전하고, 이식 가능한 데이터베이스 기반 웹 애플리케이션을 신속하게 개발하기 위한 무료 오픈소스 풀스택 프레임워크입니다.
Python으로 작성되었으며 Python으로 프로그래밍할 수 있습니다. LGPLv3 라이선스
자세한 내용은 http://web2py.com 에서 확인하십시오.
cp examples/app.yaml ./
cp handlers/gaehandler.py ./
그런 다음 ./app.yaml을 편집하고 "yourappname"을 여러분의 앱 이름으로 바꾸십시오.
web2py의 중요한 부분 중 하나는 데이터베이스 추상화 계층(DAL)입니다. 2015년 초에 이는 별도의 코드베이스(PyDAL)로 분리되었습니다. git 측면에서 볼 때, 이는 메인 저장소의 서브모듈입니다.
서브모듈을 사용하려면 web2py를 처음부터 클론할 때 git clone에 --recursive 플래그를 한 번 사용해야 합니다.
git clone --recursive https://github.com/web2py/web2py.git
이미 저장소가 있다면 아래 명령어를 최소한 한 번은 실행해야 합니다:
git submodule update --init --recursive
gluon/dal 폴더가 있다면 반드시 제거해야 합니다:
rm -r gluon/dal
PyDAL은 web2py의 나머지 부분과 별도의 안정적인 릴리스 주기를 사용합니다. PyDAL 릴리스는 Ubuntu와 유사한 날짜 명명 체계를 사용합니다. PyDAL 관련 문제는 별도의 저장소에 보고해야 합니다.
web2py를 시작하기 위해 설치할 필요가 전혀 없습니다. 압축을 풀고 다음을 실행하기만 하면 됩니다:
python web2py.py
그게 전부입니다!!!
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
문제는 https://github.com/web2py/web2py/issues 에 보고하세요.