Commit 4c6e9533256e519cd33575e02e9a30bfe7ddbfc4
1 parent
c5df21ab
Exists in
master
and in
29 other branches
util/debian-install: document test procedure
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
util/debian-install/README.md
1 | This directory contains the basic structure to test the installation of | 1 | This directory contains the basic structure to test the installation of |
2 | Noosfero debian packages, using a fresh Vagrant VM and packages built in | 2 | Noosfero debian packages, using a fresh Vagrant VM and packages built in |
3 | ${NOOSFEROROOT}/pkg/. | 3 | ${NOOSFEROROOT}/pkg/. |
4 | + | ||
5 | +To perform a test, do | ||
6 | + | ||
7 | +``` | ||
8 | +$ cd /path/to/noosfero | ||
9 | +$ rake noosfero:deb | ||
10 | +$ cd util/debian-install/ | ||
11 | +$ vagrant up | ||
12 | +``` | ||
13 | + | ||
14 | +To reset the environment in preparation for a new test, destroy the VM and | ||
15 | +remove any local `*.deb` files : | ||
16 | + | ||
17 | +``` | ||
18 | +$ cd util/debian-install/ | ||
19 | +$ vagrant halt | ||
20 | +$ vagrant destroy | ||
21 | +$ rm -f *.deb | ||
22 | +``` |