You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rushabh Mehta 78a519ed5e [minor] fixed jquery drag event пре 11 година
conf Differentiate between base_path and storage_base_path пре 11 година
core [minor] wnf refactor, fixes in demo пре 11 година
data [geo ip] determine country using geoip; added country info in session and cookies пре 12 година
docs [calendar] [feature] Added Recurring Events пре 12 година
public [minor] fixed jquery drag event пре 11 година
webnotes [minor] decode filename in clear pyc files пре 11 година
website [minor] moved wn-web.js and wn-web.css to memcache пре 11 година
.gitignore [minor] add vim swp to .gitignore пре 12 година
INSTALL.md lib/py/webnotes/defs.py -> conf.py (see sample in lib/conf/conf.py) пре 13 година
README.md [import/export] [minor] cleanup пре 12 година
__init__.py [wsgi] [minor] added init пре 12 година
config.json [website] [minor] moving to framework пре 12 година
license.txt profile: form is now my settings page, removed (Page, profile-settings) пре 12 година
requirements.txt added requirements пре 12 година
wnf.py [minor] clear pyc files, use val instead of opts in wnf functions пре 11 година

README.md

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