Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

62 lignes
1.7 KiB

  1. Web Notes Framework
  2. ===================
  3. Why Web Notes Framework?
  4. ------------------------
  5. This question was not relevant in 2005 when the Framework started being developed, now however,
  6. there are many popular frameworks beginning with Ruby on Rails, Django, GWT etc. Does it make sense to look
  7. at yet another framework? We think yes, here are a few reasons:
  8. * It is a pure meta-data framework, not based on templates that most frameworks support, taking automation
  9. the next level
  10. * It has back-end and front-end integrated with built-in AJAX
  11. * It has more features out-of-the box than any other framework
  12. * It is extremely light weight and runs on Apache-CGI
  13. See it in action
  14. ----------------
  15. Go to http://wnframework.org for more info
  16. Setting Up and Installing
  17. -------------------------
  18. #. Pre-requisites
  19. #. Python
  20. #. MySQL
  21. #. MySQL-Python
  22. #. Setting Up Apache
  23. Changes to httpd.conf to enable execution of CGI files from anywhere
  24. #. Add ExecCGI to Options directive
  25. #. Uncomment AddHandler for ExecCGI
  26. #. Add (to block python files from being directly viewed)::
  27. RewriteEngine on
  28. RewriteRule \.py - [F]
  29. #. Setting Up Framework
  30. #. Download the framework to your "www" folder::
  31. svn checkout http://wnframework.googlecode.com/svn/trunk/v170/
  32. #. Set mysql root login details in: cgi-bin/defs.py
  33. #. Go to the cgi-bin python create the base account::
  34. import server
  35. server.create_account('accounts')
  36. #. Start the apache webserver and go to your browser:
  37. localhost/login.html
  38. account: accounts
  39. login: Administrator
  40. password: admin
  41. **You are set!**