Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

running_on.rst 1.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940
  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
  12. sudo apt-get build-dep python-imaging
  13. Then you'll need to get Pinry and setup our virtualenv::
  14. git clone https://github.com/pinry/pinry.git
  15. cd pinry
  16. virtualenv .
  17. bin/pip install -r requirements.txt
  18. From here you have a full working install of Pinry! You can:
  19. * Run some tests: ``bin/python manage.py test``
  20. * Run a development server: ``bin/python manage.py runserver``
  21. * Edit the settings files: ``pinry/settings``
  22. * Customize the theme: ``pinry/templates`` + ``pinry/static``
  23. Database Notes
  24. --------------
  25. When setting up for the first time you'll need to run syncdb and migrations
  26. because we use South::
  27. bin/python manage.py syncdb --migrate