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.
 
 
 
 
 
 
Syed Qadeer 0a3685d2cf Created 'build_from_query_report' method in translate.py to create locale for the reports пре 11 година
conf [minor] [fix] default conf.py пре 11 година
core updated the files to call the translating function пре 11 година
data [geo ip] determine country using geoip; added country info in session and cookies пре 12 година
docs [calendar] [feature] Added Recurring Events пре 12 година
public Query Report Title Integration пре 11 година
webnotes Created 'build_from_query_report' method in translate.py to create locale for the reports пре 11 година
website [minor] [fix] hide no_cache pages in sitemap пре 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 година
config.json [website] [minor] moving to framework пре 12 година
license.txt profile: form is now my settings page, removed (Page, profile-settings) пре 12 година
requirements.txt [minor] change filename to unicode after os.walk and os.listdir пре 11 година
wnf.py [fix] [minor] [install] pass root password to wnf пре 12 година

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