This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName example.com | |
ServerAlias *.example.com | |
DocumentRoot /rails_app_directory/public | |
# Redirect all requests that don't match a file on disk under DocumentRoot get proxied to Puma | |
RewriteEngine On | |
<Proxy balancer://unicornservers> | |
BalancerMember http://127.0.0.1:5100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
source ~/.bashrc | |
cd . | |
bundle install | |
read -d '' database_yml <<"EOF" | |
test: | |
adapter: postgresql | |
encoding: utf8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:rubycomplete_rails = 1 | |
" The NERD Tree | |
nmap <silent> <c-n> :NERDTreeToggle<CR> | |
" FuzzyFinder | |
nmap <silent> ff :FufFile<CR> | |
nmap <silent> fb :FufBuffer<CR> | |
nmap <silent> fd :FufDir<CR> | |
nmap <silent> bh :bprevious<CR> | |
nmap <silent> bl :bnext<CR> |