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.

getting_started.rst 1.3 KiB

il y a 11 ans
il y a 11 ans
il y a 11 ans
il y a 11 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. * Node
  20. * Bower
  21. After you have all of the above you can skip to Testing and make sure it all
  22. works.
  23. Testing
  24. -------
  25. We have many tests built into Pinry to ensure that changes don't break anything.
  26. If you are live dangerously and have cutting edge new Pinry features first you
  27. can use our master branch for your own instance. We recommend using our
  28. tags/versions though.
  29. To run Pinry's tests inside the Pinry repo run::
  30. virtualenv .
  31. bin/pip install -r requirements.txt
  32. bin/python manage.py test