No description
Find a file
2013-10-08 16:59:13 +05:30
conf Merge branch 'master' of github.com:webnotes/wnframework into wsgi 2013-10-02 16:46:35 +05:30
core [minor] add system manager in wnf 2013-10-07 19:24:17 +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 [fixes] [wsgi] fixed path, style and other minor fixes 2013-10-08 13:41:08 +05:30
webnotes add mysql and runserver utilites 2013-10-08 16:59:13 +05:30
website [fixes] [wsgi] fixed path, style and other minor fixes 2013-10-08 13:41:08 +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 Merge branch 'master' of github.com:webnotes/wnframework into wsgi 2013-10-02 16:46:35 +05:30
wnf.py add mysql and runserver utilites 2013-10-08 16:59:13 +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