| Line | |
|---|
| 1 | |
|---|
| 2 | README |
|---|
| 3 | ------ |
|---|
| 4 | |
|---|
| 5 | This README is intentionally brief. All the details on the Bytemark |
|---|
| 6 | Virtual Hosting packages may be found online: |
|---|
| 7 | |
|---|
| 8 | http://vhost.bytemark.co.uk/ |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | Building The Packages |
|---|
| 13 | --------------------- |
|---|
| 14 | |
|---|
| 15 | You should be able to build all packages via : |
|---|
| 16 | |
|---|
| 17 | make all |
|---|
| 18 | |
|---|
| 19 | Once you're done you'll see a bunch of .deb files in the current |
|---|
| 20 | directory. Failures are going to be hard to spot, so do look over |
|---|
| 21 | the output to ensure that you see as many packages as you expect. |
|---|
| 22 | |
|---|
| 23 | (Mostly failures will be due to lack of build-dependencies.) |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | Releasing |
|---|
| 29 | --------- |
|---|
| 30 | |
|---|
| 31 | To make a new release, visible on http://vhost.bytemark.co.uk/, you |
|---|
| 32 | need to run: |
|---|
| 33 | |
|---|
| 34 | make sync-down |
|---|
| 35 | |
|---|
| 36 | Once you've done that you'll find a local tree: |
|---|
| 37 | |
|---|
| 38 | ./releases |
|---|
| 39 | ./releases/live/ |
|---|
| 40 | ./releases/staging/ |
|---|
| 41 | |
|---|
| 42 | Remove the obsolete packages and move your newly built ones into place. |
|---|
| 43 | |
|---|
| 44 | Now run |
|---|
| 45 | |
|---|
| 46 | make sync-up |
|---|
| 47 | |
|---|
| 48 | This will copy the files to /staging and /incoming on the vhost machine. |
|---|
| 49 | This will place them correctly for releasing. |
|---|
| 50 | |
|---|
| 51 | Finally ssh to vhost and run: |
|---|
| 52 | |
|---|
| 53 | /home/www/vhost.bytemark.co.uk/htdocs/staging/build.sh |
|---|
| 54 | |
|---|
| 55 | or |
|---|
| 56 | /home/www/vhost.bytemark.co.uk/htdocs/packages/build.sh |
|---|
| 57 | |
|---|
| 58 | Steve |
|---|
| 59 | -- |
|---|