cirandas.net

ref: master

util/debian-install/README.md


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
```

To test upgrades:

```
$ rm -f pkg/
$ cd utils/debian-install/
$ vagrant destroy
$ rm -f *.deb
$ REPOSITORY=jessie vagrant up              # install current stable version
$ cd ../../
$ make noosfero:deb                         # build current packages
$ REPOSITORY=jessie-next vagrant provision  # upgrade
```