Weave makes networking docker containers easy.
Containers appear to all be on the same network even if they're not.
| #!/bin/sh | |
| { | |
| echo "This script requires superuser access" | |
| echo "You will be prompted for your password by sudo." | |
| # clear any previous sudo permission | |
| sudo -k | |
| # run inside sudo | |
| sudo sh <<SCRIPT |
| FROM ubuntu | |
| MAINTAINER Richard Gill <[email protected]> | |
| RUN apt-get -y install python |
| asdasdsad |
| asdasdasdasd |
| 419f4d33b43bdbade29ea67ca913b5a6f0f03b2163e9ce4b4bca3a3fe0fe8876f9394c0b1dcfc44614a3f2a5135cf75c18c5e6b9a6b2b673ce7c65a98706c88cc0cb007aef005cf10159fdab9adb4d7ffd1ba232c7eaf284d943203f6300a4d6bb4565cc28f31ab3dd9e7f463522c276dea07b878a88e56bf1756504abc325cc |
Weave makes networking docker containers easy.
Containers appear to all be on the same network even if they're not.
| daasdasd | |
| asdasdasd |
| brew install nvm #install the node version manager | |
| # Make sure it gets loaded every time a terminal starts | |
| echo "source $(brew --prefix nvm)/nvm.sh" >> ~/.bash_profile | |
| # Break down! | |
| # echo means print out what follows | |
| # $(brew --prefix nvm) will get evaluated as if you typed it in to a command line. | |
| # >> ~.bash_profile means: add whatever the left hand side of >> evaluated to, to the end of the ~/.bash_profile file. | |
| # ~: means home directory. |
| Brew | |
| https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion | |
| https://github.com/michaeldfallen/git-radar | |
| Sublime | |
| [SSH Keys](https://help.github.com/articles/generating-ssh-keys/) |
| FIND_LEADS_DIR="find-leads" | |
| FIND_LEADS_FULL_PATH="/tmp/$FIND_LEADS_DIR" | |
| if [ ! -d "$FIND_LEADS_FULL_PATH" ]; then git clone [email protected]:z-dev/find-leads.git $FIND_LEADS_FULL_PATH ; fi | |
| cd $FIND_LEADS_FULL_PATH | |
| git checkout master | |
| git pull origin master | |
| npm run start |