No description
Find a file
2013-09-26 17:55:02 +05:30
conf Differentiate between base_path and storage_base_path 2013-09-24 13:39:19 +05:30
core [minor] wnf refactor, fixes in demo 2013-09-26 15:56:54 +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 branch 'master' of github.com:webnotes/wnframework into wsgi 2013-09-25 19:57:13 +05:30
webnotes [minor] moved wn-web.js and wn-web.css to memcache 2013-09-26 17:55:02 +05:30
website [minor] moved wn-web.js and wn-web.css to memcache 2013-09-26 17:55:02 +05:30
.gitignore [minor] add vim swp to .gitignore 2013-09-04 11:02:28 +05:30
__init__.py [wsgi] [minor] added init 2013-09-17 15:17:36 +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
requirements.txt added requirements 2013-09-13 16:49:22 +05:30
wnf.py [minor] moved wn-web.js and wn-web.css to memcache 2013-09-26 17:55:02 +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