You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Pratik Vyas 729239109e [minor] add move to wnf.py преди 11 години
conf Merge branch 'master' of github.com:webnotes/wnframework into wsgi преди 11 години
core [minor] fixes to crm patch преди 11 години
data [geo ip] determine country using geoip; added country info in session and cookies преди 12 години
docs [calendar] [feature] Added Recurring Events преди 12 години
public [upload] cleaned up UI преди 11 години
webnotes [minor] return backup generator obj from wnf.backup преди 11 години
website [login] [minor] better layout преди 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] add move to wnf.py преди 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