Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hamikm committed Sep 1, 2017
1 parent 43b5550 commit 39b95c2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ How to propose marriage with a puppy, a phone, and a Web Socket.


## Technical Notes
OpenSSL deprecation makes it a little difficult to get this project running in a virtualenv. Instead, (1) install dependencies in `requirements.txt` outside of a virtualenv, (2) compile and link openssl, and (3) install uwsgi with openssl awareness. The following were tested on OS X.
OpenSSL deprecation makes it a little difficult to get this project running in a virtualenv. Instead, install dependencies outside a virtualenv with `pip install -r requirements.txt`, compile and link openssl, and install uwsgi with openssl awareness. The following were tested on OS X.

1. `pip install -r requirements.txt`
2.
### Compile and Link Openssl
```
cd /usr/local/src
sudo curl --remote-name https://www.openssl.org/source/openssl-1.0.2l.tar.gz
Expand All @@ -35,7 +34,9 @@ sudo make install
ln -s /usr/local/openssl-1.0.2l/bin/openssl /usr/local/bin/openssl
(close and open terminal)
```
3. `CFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" UWSGI_PROFILE_OVERRIDE=ssl=true pip install uwsgi -I --no-cache-dir`

### Install uwsgi
`CFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" UWSGI_PROFILE_OVERRIDE=ssl=true pip install uwsgi -I --no-cache-dir`

## Non-technical Notes
Congrats Hamik and Vicky! - Garrett

0 comments on commit 39b95c2

Please sign in to comment.