|
13 роки тому | |
---|---|---|
conf | 13 роки тому | |
css | 13 роки тому | |
images | 13 роки тому | |
js | 13 роки тому | |
py | 13 роки тому | |
.gitignore | 13 роки тому | |
INSTALL.md | 13 роки тому | |
README.md | 13 роки тому | |
attribution.md | 14 роки тому | |
build.json | 13 роки тому | |
wnf.py | 13 роки тому |
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:
lib
folder.index.cgi
, build.json
, conf.py
.js
, css
, modules
, modules/startup
. These folders contain the js, css assets and modules folder is where all the new application modules will be created.$ lib/wnf.py --install dbrootpassword newdbname lib/conf/Framework.sql
to install a fresh database.app.js
containing basic application info (see lib/conf
)__init__.py
and event_handlers.py
in modules/startup
. This is where you write all events (like, onlogin, onlogout etc)$ lib/wnf.py -b
to build js and css assets from build.json
.enjoy!
$ lib/wnf.py --help
for more info
wnframework is freely available to use under the MIT License