Skip to content

Instantly share code, notes, and snippets.

require 'sinatra'
get '/' do
"Sinatra is awesome"
end
@mies
mies / gist:5764153
Created June 12, 2013 10:04
wercker.yml with a lot of services
box: wercker/ubuntu12.04-ruby2.0.0
services:
- wercker/mongodb
- wercker/rabbitmq
- wercker/redis
- wercker/mysql
@mies
mies / gist:6044466
Created July 20, 2013 09:41
couchdb box yml's
# wercker-box.yml
name: couchdb
version: 0.1.0
inherits: mies/erlang@0.0.2
type: service
platform: ubuntu@12.04
description: wercker box for couchdb a document oriented database
keywords:
- couchdb
@mies
mies / compass.yml
Created July 26, 2013 15:44
Compass compile build step for wercker
- script :
name : compass compile
code : |
cd $WERCKER_SOURCE_DIR
bundle exec compass compile -s compressed
@mies
mies / wercker.yml
Last active December 20, 2015 18:18
wercker.yml for kotlin
box: mies/scala
build:
steps:
- script:
name: ant dependencies
code: |
ant -f update_dependencies.xml
- script:
name: ant build
code: |
@mies
mies / wercker.yml
Created August 15, 2013 20:28
default golang wercker.yml
box: wercker/golang
# Add services here
# Build definition
build:
# The steps that will be executed on build
steps:
# Sets the go workspace and places you package
# at the right place in the workspace tree
- setup-go-workspace
@mies
mies / wercker.yml
Last active December 21, 2015 22:48 — forked from pjvds/wercker.yml
box: wercker/python
build:
steps:
- install-packages:
packages: libfreetype6-dev
- pip-install
- script:
name: tests
code: python tests.py
@mies
mies / gist:6847495
Created October 5, 2013 23:48
rabbitmq
sudo apt-get remove rabbitmq-server
sudo apt-get install xsltproc xmlto
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.5/rabbitmq-server-3.1.5.tar.gz
tar -zxvf rabbitmq-server-3.1.5.tar.gz rabbitmq-server-3.1.5
cd rabbitmq-server-3.1.5
@mies
mies / gist:7691298
Last active December 29, 2015 15:29
python yml
box: wercker/python
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that sets up the python virtual environment
# # Use this virtualenv step for python 3.2
# - virtualenv
# name: setup virtual environment
# python_location: /usr/bin/python3.2
@mies
mies / gist:f0b4d129ade8948168c9
Created September 16, 2014 20:10
wercker-box.yml
name: wercker-lemp-chef
version: 0.0.1
inherits: wercker/box-ubuntu12.04-ruby1.9.3-berkshelf1@0.0.4
type: main
platform: ubuntu@12.04
description: A proper LEMP stack built with Chef. Includes other goodies.
keywords:
- nginx
- php5-fpm
- mongodb