Maintaining static websites on staticweb » History » Version 8
Ahmed Bilal, 04/30/2020 08:26 AM
1 | 1 | Ahmed Bilal | h1. Maintaining static websites on staticweb |
---|---|---|---|
2 | 2 | Ahmed Bilal | |
3 | 1 | Ahmed Bilal | h2. Work In Progress |
4 | |||
5 | 1. Add DNS Entry under *dot-cdist/files/dns/zones/ungleich.ch* |
||
6 | <pre> |
||
7 | staticcms-staging CNAME staticweb |
||
8 | </pre> |
||
9 | 2. Run the following command on control server. |
||
10 | <pre><code class="shell">cd ~/.cdist; git pull; cdist config -bj7 -p9 -vv d{1..7}.ungleich.ch</code></pre> |
||
11 | 5 | Ahmed Bilal | 3. Run the following commands on staticweb.ungleich.ch |
12 | <pre><code class="shell"> |
||
13 | mkdir -p /home/services/www/ungleichstatic/staticcms-staging.ungleich.ch/www/u/ |
||
14 | chown -R ungleichstatic /home/services/www/ungleichstatic/staticcms-staging.ungleich.ch/www/ |
||
15 | </code></pre> |