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