aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiederick de Vries <diederick76@users.noreply.github.com>2017-05-05 22:55:09 +0200
committerGitHub <noreply@github.com>2017-05-05 22:55:09 +0200
commit9712e8d391a9eb9dfa50873ae45bb6fd69d01907 (patch)
tree6abae82555d6a9b0c3d9efb6f23f85bc1e39936a
parentf880af6f16ba646852243618786375abfdec7fcb (diff)
downloadaside-9712e8d391a9eb9dfa50873ae45bb6fd69d01907.tar.gz
aside-9712e8d391a9eb9dfa50873ae45bb6fd69d01907.tar.bz2
aside-9712e8d391a9eb9dfa50873ae45bb6fd69d01907.zip
Updated README.md
Corrected formatting
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index 02f8c79..596d271 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ ASiDe consists of the following parts:
15 15
16Deploying is done by a dedicated user `builduser`. `/var/home/builduser/` looks as follows: 16Deploying is done by a dedicated user `builduser`. `/var/home/builduser/` looks as follows:
17 17
18` 18```
19 /var/home/ 19 /var/home/
20 builduser/ 20 builduser/
21 bin/monitor 21 bin/monitor
@@ -26,7 +26,7 @@ Deploying is done by a dedicated user `builduser`. `/var/home/builduser/` looks
26 resources/ 26 resources/
27 test/ 27 test/
28 work/ 28 work/
29` 29```
30 30
31The monitoring script uses the name of the trigger to select the correct project. Each project has a dedicated build script and resources used for testing when necessary. This way the development environment doesn't need to have those and they don't need to be committed to git, which would be insecure. 31The monitoring script uses the name of the trigger to select the correct project. Each project has a dedicated build script and resources used for testing when necessary. This way the development environment doesn't need to have those and they don't need to be committed to git, which would be insecure.
32 32
@@ -49,12 +49,14 @@ Start, stop, enable and disable as you would any systemd unit. The unit is calle
49 49
501. Create a system user `builduser` and a system group `deploy` with home directory `/var/home/builduser`. 501. Create a system user `builduser` and a system group `deploy` with home directory `/var/home/builduser`.
51 51
52 # groupadd -r -g 900 deploy 52```
53 # useradd -r -b /var/home -m -N -g deploy -s /bin/bash builduser 53# groupadd -r -g 900 deploy`
54# useradd -r -b /var/home -m -N -g deploy -s /bin/bash builduser
55```
54 56
552. Create a directory structure under `/var/home/builduser`. 572. Create a directory structure under `/var/home/builduser`.
56 58
57 # mkdir -p /var/home/builduser/{bin,trigger,repo1/{bin,log,resources/{test,prod},work}} 59`mkdir -p /var/home/builduser/{bin,trigger,repo1/{bin,log,resources/{test,prod},work}}`
58 60
593. Put the scripts at the right location. See the diagram above. 613. Put the scripts at the right location. See the diagram above.
60 62