aboutsummaryrefslogtreecommitdiff
path: root/gn/services/bnw-README
blob: 29cc816b2ab6e9f651a6012cb469391f24595505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SETUP:

The setup process works like this:
$ guix build bnw
$ mkdir -p /home/bnw/server/bnw
$ cp -a $(guix build bnw)/* /home/bnw/server/bnw/
$ chmod a+w /home/bnw/server -R

for testing changes to the container, you'll want to do the following (or thereabouts):
$ guix system container gn/services/GN1-container.scm --share=/home/bnw/server=/srv/http --network
$ sudo -E $(guix system container gn/services/GN1-container.scm --share=/home/bnw/server=/srv/http --network)

for running the service:
see included bnw.service

for upgrades:
$ guix pull
$ rm -rf /home/bnw/server
$ guix build bnw
$ mkdir -p /home/bnw/server/bnw
$ cp -a $(guix build bnw)/* /home/bnw/server/bnw/
$ chmod a+w /home/bnw/server -R