- First read this [Docker for Mac: Performance Tweaks]: (http://espeo.eu/blog/docker-for-mac-performance-tweaks/)
- Upgrade Docker
- Restart Docker
- Run these commands:
$ cd ~;
$ cd ~/Library/Containers/com.docker.docker/Data/database/;
$ git reset --hard;
| Install | |
| $ brew update; | |
| $ brew install nvm; | |
| $ mkdir ~/.nvm; | |
| Configure | |
| This will make the "nvm" command available in your terminal | |
| $ atom ~/.bash_profile; | |
| Add these lines right below your last "export" statement if one is already present |
| { | |
| "0": { | |
| "file" : "prepare-commit-msg", | |
| "url" : "https://gist.githubusercontent.com/kmccarth/524fff7a456bee55bdbe76452827662e/raw/0ad68c0dfd8370b3141c92921805db5d55f2ffe5/ventureapp-prepare-commit-msg" | |
| }, | |
| } |
$ cd ~;
$ cd ~/Library/Containers/com.docker.docker/Data/database/;
$ git reset --hard;
| #!/bin/sh | |
| # | |
| # Automatically adds branch name and branch description to every commit message. | |
| # | |
| NAME=$(git branch | grep '*' | sed 's/* //') | |
| DESCRIPTION=$(git config branch."$NAME".description) | |
| TEXT=$(cat "$1" | sed '/^#.*/d') | |
| JIRAURL="https://ventureapp.atlassian.net/browse/"$NAME; | |
| if [ -n "$TEXT" ] |
cd ~;
curl -L http://bit.ly/2vkaF0m >> prepare-commit-msg;
chmod u+x prepare-commit-msg;
cd ~/repos/ventureapp/api/.git/hooks/; rm -f prepare-commit-message; cp ~/prepare-commit-msg prepare-commit-msg;
cd ~/repos/ventureapp/web/.git/hooks/; rm -f prepare-commit-message; cp ~/prepare-commit-msg prepare-commit-msg;
cd ~/repos/ventureapp/ios/.git/hooks/; rm -f prepare-commit-message; cp ~/prepare-commit-msg prepare-commit-msg;
tl;dr
| #!/bin/bash | |
| # Run first: chmod +x jira_cli_install.sh; | |
| echo "Installing gem..."; | |
| sudo gem install terjira; | |
| echo "Logging into Jira, here are values for prompt:"; | |
| echo "Site: https://ventureapp.atlassian.net Context path:jira Username: [email protected] Password: \n" | |
| jira login; |
| <?php | |
| /** | |
| * VentureApp | |
| * https://www.ventureapp.com/ | |
| * email: [email protected] | |
| */ | |
| namespace App\Helpers; | |
| class vaHelper |
| user www-data; | |
| worker_processes 4; # number of cores on machine | |
| error_log /var/log/nginx/error.log; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { |
| To set up nginx as a reverse caching proxy, copy the nginx_configs folder from this repo and follow these steps: | |
| sudo -s nginx=stable # use nginx=development for latest development version | |
| add-apt-repository ppa:nginx/$nginx | |
| apt-get update | |
| apt-get install nginx |