PageRenderTime 53ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 1ms

/docs/source/install.rst

https://github.com/victorpantoja/mobile-social-share-server
ReStructuredText | 129 lines | 83 code | 46 blank | 0 comment | 0 complexity | 3a7c4051aa1f27add773876fc8c56981 MD5 | raw file
  1. Instalação
  2. ===========
  3. A instalação do MSS é bastante simples. É necessário apenas que se faça um clone do projeto.
  4. .. warning::
  5. É necessária a utilização do git
  6. .. note::
  7. Para saber a versão do seu git execute: **git --version**
  8. .. code-block:: bash
  9. git clone git@github.com:victorpantoja/mobile-social-share-server.git
  10. Verifique que a instalação funcionou utilizando o interpretador python (a versão que será exibida depende de qual você instalou) a partir da raiz do projeto:
  11. .. code-block:: python
  12. >>> import mss
  13. >>> print mss.__version__
  14. 1.0.0
  15. Dependências:
  16. =============
  17. O MSS depende dos seguintes módulos python:
  18. ------------------
  19. Tornado Web Server
  20. ------------------
  21. Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. The FriendFeed application is written using a web framework that looks a bit like web.py or Google's webapp, but with additional tools and optimizations to take advantage of the underlying non-blocking infrastructure.
  22. .. code-block:: bash
  23. sudo easy_install tornado
  24. More information:
  25. http://www.tornadoweb.org/
  26. ----------
  27. SQLAlchemy
  28. ----------
  29. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
  30. It provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language.
  31. More information:
  32. http://www.sqlalchemy.org/
  33. --------------
  34. Mako Templates
  35. --------------
  36. Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.
  37. .. code-block:: bash
  38. sudo easy_install mako
  39. More information:
  40. http://www.makotemplates.org/
  41. ------
  42. routes
  43. ------
  44. Routes is a Python re-implementation of the Rails routes system for mapping URLs to application actions, and conversely to generate URLs. Routes makes it easy to create pretty and concise URLs that are RESTful with little effort.
  45. Routes allows conditional matching based on domain, cookies, HTTP method, or a custom function. Sub-domain support is built in. Routes comes with an extensive unit test suite.
  46. .. code-block:: bash
  47. sudo easy_install routes
  48. More information:
  49. http://routes.groovie.org/
  50. ---------
  51. memcached
  52. ---------
  53. This is a Python based API (implemented in 100% python) for communicating with the memcached distributed memory object cache daemon.
  54. .. code-block:: bash
  55. sudo easy_install python-memcached
  56. More information:
  57. http://www.tummy.com/Community/software/python-memcached/
  58. ----------
  59. simplejson
  60. ----------
  61. Simple, fast, extensible JSON encoder/decoder for Python
  62. .. code-block:: bash
  63. sudo easy_install simplejson
  64. More information:
  65. http://pypi.python.org/pypi/simplejson/
  66. --------------
  67. python-twitter
  68. --------------
  69. A Python wrapper around the Twitter API
  70. .. code-block:: bash
  71. sudo easy_install python-twitter
  72. More information:
  73. http://code.google.com/p/python-twitter/
  74. -----------------
  75. simple-db-migrate
  76. -----------------
  77. simple-db-migrate is a database versioning and migration tool inspired on Rails Migrations.
  78. .. code-block:: bash
  79. sudo easy_install simple-db-migrate
  80. More information:
  81. http://guilhermechapiewski.github.com/simple-db-migrate/
  82. .. admonition:: migration
  83. Não se esqueça de rodar as migrations após instalar a app para que o banco de dados seja devidamente criado.