From 06fe908b3fe7e1e0708b0f914005687c7907686d Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Tue, 21 Apr 2015 09:59:13 +0200 Subject: [PATCH] README: added info about 'deploy' command --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index f9212223..5f756ec7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,20 @@ # x +## HAProxy deployment + +``` +cd /vagrant +python cli.py deploy haproxy_deployment/haproxy-deployment.yaml +``` + +or from Python shell: + +``` +from x import deployment + +deployment.deploy('/vagrant/haproxy_deployment/haproxy-deployment.yaml') +``` + ## Usage: Creating resources: