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.

14 年之前
14 年之前
14 年之前
12 年之前
12 年之前
14 年之前
14 年之前
14 年之前
12345678910111213141516171819202122232425262728293031323334353637
  1. ## wnframework
  2. Full-stack web application framework that uses Python/MySql on the server side and a tightly integrated client side library. Primarily built for erpnext.
  3. Projects: [erpnext](http://erpnext.org) | [webnotes/erpnext](https://github.com/webnotes/erpnext)
  4. ## Setup
  5. To start a new project, in the application root:
  6. Install:
  7. 1. Go to the project folder
  8. 1. Install webnotes and your app:
  9. $ git clone git@github.com:webnotes/wnframework lib
  10. $ git clone git@github.com:webnotes/[your app] app
  11. $ lib/wnf.py --make_conf
  12. $ lib/wnf.py --reinstall
  13. $ lib/wnf.py --build
  14. 1. Setup Apache Conf from `conf/apache.conf`
  15. - Allow cgi to handle `.py` files
  16. - Rewrite to make clean urls
  17. - Note: the document root is the `public` folder in your project folder
  18. 1. Give ownership of the project folder to apache user (`www-data` or `apache`) to make .pyc files and upload files.
  19. enjoy!
  20. ## wnf.py
  21. `$ lib/wnf.py --help` for more info
  22. ## License
  23. wnframework is freely available to use under the MIT License