Update abra syntax in examples (finally) [mass update]
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
72ff340927
commit
6c97636698
20
README.md
20
README.md
|
@ -23,11 +23,11 @@ Coöp Cloud + [Wordpress](https://wordpress.org) = 🥳
|
|||
2. Deploy [`coop-cloud/traefik`][cc-traefik]
|
||||
3. `abra app new wordpress --secrets` (optionally with `--pass` if you'd like
|
||||
to save secrets in `pass`)
|
||||
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
||||
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||
your Docker swarm box
|
||||
5. `abra app YOURAPPDOMAIN deploy`
|
||||
5. `abra app deploy YOURAPPDOMAIN`
|
||||
6. Open the configured domain in your browser to finish set-up
|
||||
7. `abra app YOURAPPDOMAIN run app chown www-data:www-data /var/www/html/wp-content` to fix
|
||||
7. `abra app run YOURAPPDOMAIN app chown www-data:www-data /var/www/html/wp-content` to fix
|
||||
file permissions (see #3)
|
||||
|
||||
## Running WP-CLI
|
||||
|
@ -39,18 +39,18 @@ Coöp Cloud + [Wordpress](https://wordpress.org) = 🥳
|
|||
_(Only tested using subdomains)_
|
||||
|
||||
1. Set up as above
|
||||
2. `abra app YOURAPPDOMAIN config`, and uncomment the first `# Multisite` section
|
||||
3. `abra app YOURAPPDOMAIN deploy`
|
||||
2. `abra app config YOURAPPDOMAIN`, and uncomment the first `# Multisite` section
|
||||
3. `abra app deploy YOURAPPDOMAIN`
|
||||
4. Log into the Wordpress admin dashboard, go to Tools » Network Setup
|
||||
5. Don't worry about the suggested file changes
|
||||
6. `abra app YOURAPPDOMAIN config` again - comment out the first `# Multisite`
|
||||
6. `abra app config YOURAPPDOMAIN` again - comment out the first `# Multisite`
|
||||
section in `.envrc`, uncomment the `# Multisite phase 2` section, and add
|
||||
your multisite subdomain(s) to `EXTRA_DOMAINS` (beware the weird syntax..)
|
||||
7. `abra app YOURAPPDOMAIN deploy`
|
||||
7. `abra app deploy YOURAPPDOMAIN`
|
||||
|
||||
## Installing a custom theme
|
||||
|
||||
`abra app YOURAPPDOMAIN cp ~/path/to/local/theme wordpress:/var/www/html/wp-content/themes/`
|
||||
`abra app cp YOURAPPDOMAIN ~/path/to/local/theme wordpress:/var/www/html/wp-content/themes/`
|
||||
|
||||
## Email
|
||||
|
||||
|
@ -62,10 +62,10 @@ There is a local or remote SMTP relay configuration available.
|
|||
Below are the instructions for the local relay.
|
||||
|
||||
1. Deploy [`postfix-relay`][cc-postfix-relay]
|
||||
2. `abra app YOURAPPDOMAIN config`, and uncomment the email lines; change
|
||||
2. `abra app config YOURAPPDOMAIN`, and uncomment the email lines; change
|
||||
`MAIL_FROM` to make sure the domain is the same as `postfix-relay`'s
|
||||
`$DOMAIN` or in its `$EXTRA_SENDER_DOMAINS`
|
||||
3. `abra app YOURAPPDOMAIN deploy`
|
||||
3. `abra app deploy YOURAPPDOMAIN`
|
||||
|
||||
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
[cc-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
||||
|
|
Loading…
Reference in New Issue