Public | Automated Build

Last pushed: 2 years ago
Short Description
Merkatsu Staging website and API
Full Description

awesome markets

this project intends to stadardize the building of online marketplaces

getting a DEV enviroment running

unfortunatelly some extra comands are needed.. this list might be incomplete

install ruby & compass

http://rubyinstaller.org/downloads/ (install Ruby 1.9.3-p551)

gem update --system && gem install compass

install mongodb

TODO..

install normal dependencies:

npm install

bower install

OSX prepare

docker-machine start default
eval "$(docker-machine env default)"

Tutum register

docker login tutum.co

Production

git pull origin master
docker build --rm=true -t merkatsu .
docker rmi tutum.co/merkatsu/merkatsu
docker tag merkatsu tutum.co/merkatsu/merkatsu
docker push tutum.co/merkatsu/merkatsu
rancher-compose --url http://rancher.reality-connect.pt --access-key DE080AFE6F27146F0B24 --secret-key aLUxMBqmxTAS2Mcu5ZbDYuihJJnYekUzupHZ8b8h -p Production up

Staging

git pull origin staging
docker build --rm=true -t merkatsu_staging -f ./Dockerfile.staging .
docker rmi tutum.co/merkatsu/merkatsu_staging
docker tag merkatsu_staging tutum.co/merkatsu/merkatsu_staging
docker push tutum.co/merkatsu/merkatsu_staging
rancher-compose --url http://rancher.reality-connect.pt --access-key DE080AFE6F27146F0B24 --secret-key aLUxMBqmxTAS2Mcu5ZbDYuihJJnYekUzupHZ8b8h --file docker-compose.staging.yml -p Staging up

Run local

docker run -p 80:80 -p 443:443 -i -t merkatsu

Docker Commands

Delete all containers

docker rm $(docker ps -a -q)

Delete all images

docker rmi $(docker images -q)

Delete all <none> images

docker rmi $(docker images -f "dangling=true" -q)

Stop all containers

docker stop $(docker ps -a -q)

Docker Pull Command
Owner
merkatsu
Source Repository