No description
| .ebextensions | ||
| art | ||
| auth | ||
| certs | ||
| data | ||
| endpoints | ||
| screenshots | ||
| seo-snapshots | ||
| static | ||
| storage | ||
| templates | ||
| util | ||
| .gitignore | ||
| app.py | ||
| application.py | ||
| config.py | ||
| initdb.py | ||
| nginx.conf | ||
| README.md | ||
| requirements-nover.txt | ||
| requirements.txt | ||
| test.db | ||
| wsgi.conf | ||
to prepare a new host:
sudo apt-add-repository -y ppa:nginx/stable
sudo apt-get update
sudo apt-get install -y git python-virtualenv python-dev phantomjs
sudo apt-get install -y nginx-full
check out the code:
git clone https://bitbucket.org/yackob03/quay.git
virtualenv --distribute venv
source venv/bin/activate
pip install -r requirements.txt
running:
sudo nginx -c `pwd`/nginx.conf
STACK=prod gunicorn -D --workers 4 -b unix:/tmp/gunicorn.sock --worker-class eventlet -t 500 application:application