
web2py/web2py @ e94946d
web2py هو إطار عمل مجاني ومفتوح المصدر متكامل (full-stack) للتطوير السريع لتطبيقات ويب سريعة وقابلة للتطوير وآمنة وقابلة للنقل ومعتمدة على قواعد البيانات.
مكتوب وقابل للبرمجة بلغة Python. رخصة LGPLv3
اعرف المزيد على http://web2py.com
cp examples/app.yaml ./
cp handlers/gaehandler.py ./
ثم عدّل ملف ./app.yaml واستبدل "yourappname" باسم تطبيقك.
جزء مهم من web2py هو طبقة تجريد قاعدة البيانات (Database Abstraction Layer - DAL). في أوائل عام 2015 تم فصل هذا الجزء إلى قاعدة بيانات كود مستقلة (PyDAL). من ناحية git، فهو وحدة فرعية من المستودع الرئيسي.
يتطلب استخدام الوحدة الفرعية استخدام علم --recursive مرة واحدة عند استنساخ web2py من الصفر عبر git clone.
git clone --recursive https://github.com/web2py/web2py.git
إذا كان لديك مستودع موجود، فستحتاج إلى تنفيذ الأوامر التالية مرة واحدة على الأقل:
git submodule update --init --recursive
إذا كان لديك مجلد gluon/dal فيجب عليك حذفه:
rm -r gluon/dal
يستخدم PyDAL دورة إصدار مستقرة منفصلة عن بقية web2py. ستستخدم إصدارات PyDAL مخطط تسمية زمني مشابه لأوبونتو. يجب الإبلاغ عن المشكلات المتعلقة بـ 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