No description
Find a file
2013-09-13 14:37:10 +05:30
conf [minors] Added helpers for install, fixing README.md 2013-09-05 15:51:11 +05:30
core [import/export] [minor] cleanup 2013-09-13 14:37:10 +05:30
data [geo ip] determine country using geoip; added country info in session and cookies 2013-04-18 19:42:21 +05:30
docs [calendar] [feature] Added Recurring Events 2013-07-26 13:22:49 +05:30
public merge 2013-09-13 13:16:45 +05:30
webnotes merge 2013-09-13 13:16:45 +05:30
website Merge branch 'website-wip' of github.com:webnotes/wnframework into website-wip 2013-09-12 17:02:14 +05:30
.gitignore [minor] add vim swp to .gitignore 2013-09-04 11:02:28 +05:30
config.json [website] [minor] moving to framework 2013-09-10 18:29:37 +05:30
INSTALL.md lib/py/webnotes/defs.py -> conf.py (see sample in lib/conf/conf.py) 2012-04-14 16:08:54 +05:30
license.txt profile: form is now my settings page, removed (Page, profile-settings) 2012-11-28 15:19:50 +05:30
README.md [import/export] [minor] cleanup 2013-09-13 14:37:10 +05:30
wnf.py [import/export] [minor] cleanup 2013-09-13 14:37:10 +05:30

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