1,019 B
1,019 B
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:
-
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
.pyfiles - Rewrite to make clean urls
- Note: the document root is the
publicfolder in your project folder
- Allow cgi to handle
-
Give ownership of the project folder to apache user (
www-dataorapache) 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