Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| #!/bin/bash | |
| NAME="hello_app" # Name of the application | |
| DJANGODIR=/webapps/hello_django/hello # Django project directory | |
| SOCKFILE=/webapps/hello_django/run/gunicorn.sock # we will communicte using this unix socket | |
| USER=hello # the user to run as | |
| GROUP=webapps # the group to run as | |
| NUM_WORKERS=3 # how many worker processes should Gunicorn spawn | |
| DJANGO_SETTINGS_MODULE=hello.settings # which settings file should Django use | |
| DJANGO_WSGI_MODULE=hello.wsgi # WSGI module name |
| require 'mina/git' | |
| require 'mina/rbenv' | |
| require 'mina-contrib/rbenv' | |
| require 'mina-contrib/config' | |
| require 'mina-contrib/bundler' | |
| require 'mina-contrib/safety-check' | |
| require 'mina-contrib/nginx' | |
| require 'mina-contrib/puma' | |
| set :term_mode, :pretty |
| require 'mina/git' | |
| require 'mina/rbenv' | |
| require 'mina-contrib/rbenv' | |
| require 'mina-contrib/config' | |
| require 'mina-contrib/bundler' | |
| require 'mina-contrib/safety-check' | |
| require 'mina-contrib/nginx' | |
| require 'mina-contrib/puma' | |
| set :term_mode, :pretty |