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
To start a new project, in the application root:
Install:
-
Go to the project folder
-
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
-
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
- Allow cgi to handle
-
Give ownership of the project folder to apache user (
www-data
orapache
) to make .pyc files and upload files.
enjoy!
$ lib/wnf.py --help
for more info
wnframework is freely available to use under the MIT License