25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

getting_started.rst 1.3 KiB

11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Getting Started
  2. ===============
  3. Below are the most basic requirements and a small test to make sure everything
  4. is running properly before you get into the heavy lifting. Alternatively you can
  5. skip to deployment and use our Dockerfile that will build and run everything for
  6. you!
  7. Requirements
  8. ------------
  9. Pinry is built on top of Django and optimized to run on a Linux environment.
  10. However we have gotten Pinry to work on Windows and Mac as well but it may
  11. require some extra digging around configuration. Pinry's Python requirements are
  12. all in the ``requirements.txt`` file and easily installable once you have up a
  13. virtual environment. What you need initially:
  14. * Python
  15. * virtualenv
  16. * pip
  17. * Pillow build dependencies or the most recent version installed on your OS and
  18. use ``virtualenv --system-site-packages`` when initiating virtualenv.
  19. After you have all of the above you can skip to Testing and make sure it all
  20. works.
  21. Testing
  22. -------
  23. We have many tests built into Pinry to ensure that changes don't break anything.
  24. If you are live dangerously and have cutting edge new Pinry features first you
  25. can use our master branch for your own instance. We recommend using our
  26. tags/versions though.
  27. To run Pinry's tests inside the Pinry repo run::
  28. virtualenv .
  29. bin/pip install -r requirements.txt
  30. bin/python manage.py test