您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 
Rushabh Mehta b0a45c4865 [web page] make editable for logged in user (alpha) 11 年前
conf Merge branch 'master' of github.com:webnotes/wnframework into wsgi 11 年前
core custom scripts from file 11 年前
data [geo ip] determine country using geoip; added country info in session and cookies 12 年前
docs [calendar] [feature] Added Recurring Events 12 年前
public [web page] make editable for logged in user (alpha) 11 年前
webnotes [web page] make editable for logged in user (alpha) 11 年前
website [web page] make editable for logged in user (alpha) 11 年前
.gitignore [minor] add vim swp to .gitignore 12 年前
INSTALL.md lib/py/webnotes/defs.py -> conf.py (see sample in lib/conf/conf.py) 13 年前
README.md [import/export] [minor] cleanup 12 年前
__init__.py [wsgi] [minor] added init 12 年前
config.json [website] [minor] moving to framework 12 年前
license.txt profile: form is now my settings page, removed (Page, profile-settings) 12 年前
requirements.txt Merge branch 'master' of github.com:webnotes/wnframework into wsgi 11 年前
wnf.py [minor] fixed globals and patch for wsgi migration 11 年前

README.md

wnframework

Full-stack web application framework that uses Python/MySql on the server side and a tightly integrated client side library. Primarily built for erpnext.

Projects: erpnext | webnotes/erpnext

Setup

To start a new project, in the application root:

Install:

  1. Go to the project folder

  2. Install webnotes and your app:

     $ git clone git@github.com:webnotes/wnframework lib
     $ git clone git@github.com:webnotes/[your app] app
     $ lib/wnf.py --make_conf
     $ lib/wnf.py --reinstall
     $ lib/wnf.py --build
    
  3. Setup Apache Conf from conf/apache.conf

    • Allow cgi to handle .py files
    • Rewrite to make clean urls
    • Note: the document root is the public folder in your project folder
  4. Give ownership of the project folder to apache user (www-data or apache) to make .pyc files and upload files.

enjoy!

wnf.py

$ lib/wnf.py --help for more info

License

wnframework is freely available to use under the MIT License