Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Commit

Permalink
Added warning note about openssl and OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
n1k0 committed Oct 5, 2015
1 parent 2c58417 commit df652e5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/installation.rst
Expand Up @@ -20,6 +20,11 @@ By default, *Sycnto* persists internal cache in Redis.
cd syncto
make serve

:note:
OSX users are warned that supplementary steps are needed to ensure proper
installation of cryptographic dependencies is properly done; see
:ref:`dedicated note <osx-install-warning>`.

If you already installed Syncto earlier and you want to recreate a
full environment (because of errors when running ``make serve``), please run::

Expand Down Expand Up @@ -111,6 +116,17 @@ Assuming `brew <http://brew.sh/>`_ is installed:

brew install libffi openssl pkg-config

.. _osx-install-warning:

.. warning::

Apple having dropped support for OpenSSL and moving to their own library
recently, you have to force its usage to properly install cryptography-related
dependencies::

$ env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" .venv/bin/pip install cryptography
$ make serve


Running in production
=====================
Expand Down

0 comments on commit df652e5

Please sign in to comment.