World Wide Web Stuff

Table of Contents

1 Overview

There are two kinds of sites currently supported by the framework:

  • static websites deployed via rsync-over-SSH
  • PHP websites with manual deployment (no database server, sqlite3 ok)

2 Common Tasks

2.1 Adding a new static site

2.1.1 Add new hostname to the inventory

The hostname should be added under the www_sites group. For each virtual host the wwwhost variable must be set to the name of the static web server (in the www group) that the virtual host will be hosted on.

2.1.2 (Optional) Add a DNS record for the virtual host

2.1.3 Generate a new SSH deploy key

2.1.4 (Optional) Add the SSH deploy key to builds.sr.ht

2.1.5 Run Ansible Playbook site.yml

Author: Build user

Created: 2020-07-10 Fri 23:05

Validate