您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

43 行
1.1 KiB

  1. Running On...
  2. =============
  3. The system that we use and recommend you running Pinry on is Ubuntu. That being
  4. said we provide buildout configs and pay very close attention to all other
  5. operating systems, you should be able to develop/test/deploy pinry on every
  6. platform, we just don't give support for them.
  7. Ubuntu
  8. ------
  9. Ubuntu is pretty simple to get Pinry running get some of our required packages
  10. first::
  11. sudo apt-get install python-virtualenv git npm
  12. sudo apt-get build-dep python-imaging
  13. sudo npm install -g bower
  14. Then you'll need to get Pinry and setup our virtualenv::
  15. git clone https://github.com/pinry/pinry.git
  16. cd pinry
  17. virtualenv .
  18. bower install
  19. bin/pip install -r requirements.txt
  20. From here you have a full working install of Pinry! You can:
  21. * Run some tests: ``bin/python manage.py test``
  22. * Run a development server: ``bin/python manage.py runserver``
  23. * Edit the settings files: ``pinry/settings``
  24. * Customize the theme: ``pinry/templates`` + ``pinry/static``
  25. Database Notes
  26. --------------
  27. When setting up for the first time you'll need to run syncdb and migrations
  28. because we use South::
  29. bin/python manage.py syncdb --migrate