Skip to content

Instantly share code, notes, and snippets.

@younes200
Last active November 22, 2015 12:04
Show Gist options
  • Save younes200/c3b8a23df9b4eabb0de3 to your computer and use it in GitHub Desktop.
Save younes200/c3b8a23df9b4eabb0de3 to your computer and use it in GitHub Desktop.
$ docker-machine create
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
$ docker-machine start default
$ docker-machine env default
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/younes/.docker/machine/machines/default"
export DOCKER_MACHINE_NAME="default"
# Run this command to configure your shell:
# eval "$(docker-machine env default)"
$ eval "$(docker-machine env default)"
curl -L https://s3.amazonaws.com/downloads.wercker.com/cli/stable/darwin_amd64/wercker -o /usr/local/bin/wercker
box: node:4.2.1
services:
- id: mongo
cmd: --smallfiles
- redis
# Build definition
build:
# The steps that will be executed on build
steps:
- install-packages:
packages: curl vim git gcc make apt-utils build-essential python firefox
# A step that executes `npm install` command
- npm-install
- bower-install
- npm-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment