From 4c6e9533256e519cd33575e02e9a30bfe7ddbfc4 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 13 Jul 2015 15:07:37 -0300 Subject: [PATCH] util/debian-install: document test procedure --- util/debian-install/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+), 0 deletions(-) diff --git a/util/debian-install/README.md b/util/debian-install/README.md index 4149703..17b68cd 100644 --- a/util/debian-install/README.md +++ b/util/debian-install/README.md @@ -1,3 +1,22 @@ This directory contains the basic structure to test the installation of Noosfero debian packages, using a fresh Vagrant VM and packages built in ${NOOSFEROROOT}/pkg/. + +To perform a test, do + +``` +$ cd /path/to/noosfero +$ rake noosfero:deb +$ cd util/debian-install/ +$ vagrant up +``` + +To reset the environment in preparation for a new test, destroy the VM and +remove any local `*.deb` files : + +``` +$ cd util/debian-install/ +$ vagrant halt +$ vagrant destroy +$ rm -f *.deb +``` -- libgit2 0.21.2