./gho build manager
./gho deploy manager
./gho restart manager
This project contains Ansible playbooks for building deploying, and otherwise managing the PGXN apps:
A simple script, gho
provides shortcuts to manage each app.
Use it like so:
./gho ACTION APP
Run ./gho --help
for the complete list of actions and apps.
The apps correspond to the playbooks directories for each app, manager
, api
,
and site
. The actions are:
Execute the ./$app/build.yml
playbook to download and build the app. This
action does not replace existing builds or affect the currently-running build.
If the current version is already built, this action will not rebuild it.
Deploy the latest version of the app. This creates or replaces a symlink to the version and then restarts (or starts) the app.
Restart an app.
One additional gho
action, ./gho edit secrets
, edits the secrets
file. This file is protected by a password; contact @theory for details. The
contents of the file include database connection information and secrets
required for the Twitter account to Tweet releases.