Articles tagged 'devops'

Page 3 of 3

Git general workflow Jul 23 2018

The following is a basic git workflow that handles most users needs:

Read More...

Docker WordPress setup for local development Mar 2 2018

Development environment will use: WordPress latest - the image uses Apache MariaDB latest

I would like to keep the WordPress files in the host machine so I can tinker with them so we'll be using a mount defined by the environment variable: WPHOME

Read More...

Git branch cleanup after pull request Feb 24 2018

After merging a pull request Github shows the option to remove the branch that was merged, but that only removes the branch from the remote Github repo.

If you display all your branches in local( git branch -a ) you'll still see that the removed branch...

Read More...

tmux basic usage Feb 19 2018

After editing your config file (probably ~/.tmux.conf) you don't need to kill your tmux server and reload it, you can just go to tmux command mode and source your configfile:

1
<C-b>:source-file ~/.tmux

When you open use vim on tmux you might lose...

Read More...

Using rbenv for multiple projects Feb 15 2018

I prefer to keep all my gems separated by project so I use rbenv-gemset you might want to do that too.

If you want to use a specific ruby version on a project do the following:

1
2
cd project
rbenv install 2.4.1 # you can pick any version `rbenv install...
Read More...

Installing docker-toolbox on mac OSX Jan 11 2018

If you use iTerm you'll probably need to change the file:

1
/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt

Following the code in this gist

Install bash_completion from mac ports or using homebrew Here I'll...

Read More...