Let requests stream directly into the storage layer without pooling up on the backend.
This commit is contained in:
parent
d52d913276
commit
5f8d7662d1
4 changed files with 9 additions and 5 deletions
|
@ -1,11 +1,9 @@
|
|||
to prepare a new host:
|
||||
|
||||
```
|
||||
sudo apt-get install software-properties-common
|
||||
sudo apt-add-repository -y ppa:nginx/stable
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git python-virtualenv python-dev phantomjs libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev libevent-dev
|
||||
sudo apt-get install -y nginx-full
|
||||
sudo apt-get install -y git python-virtualenv python-dev phantomjs libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev libevent-dev gdebi-core
|
||||
sudo gdebi --n binary_dependencies/*.deb
|
||||
```
|
||||
|
||||
check out the code:
|
||||
|
@ -20,7 +18,7 @@ pip install -r requirements.txt
|
|||
running:
|
||||
|
||||
```
|
||||
sudo mkdir -p /mnt/nginx/ && sudo nginx -c `pwd`/nginx.conf
|
||||
sudo mkdir -p /mnt/nginx/ && sudo /usr/local/nginx/sbin/nginx -c `pwd`/nginx.conf
|
||||
STACK=prod gunicorn -c gunicorn_config.py application:application
|
||||
```
|
||||
|
||||
|
|
Reference in a new issue