docs: translate single-quotes into backticks
This commit is contained in:
18
README.md
18
README.md
@@ -181,7 +181,7 @@ flags:
|
|||||||
- `-a|--alias "BLUE_DATABASE"`: an alternative alias to use for linking to an app via environment variable
|
- `-a|--alias "BLUE_DATABASE"`: an alternative alias to use for linking to an app via environment variable
|
||||||
- `-q|--querystring "pool=5"`: ampersand delimited querystring arguments to append to the service link
|
- `-q|--querystring "pool=5"`: ampersand delimited querystring arguments to append to the service link
|
||||||
|
|
||||||
A postgres service can be linked to a container. This will use native docker links via the docker-options plugin. Here we link it to our 'playground' app.
|
A postgres service can be linked to a container. This will use native docker links via the docker-options plugin. Here we link it to our `playground` app.
|
||||||
|
|
||||||
> NOTE: this will restart your app
|
> NOTE: this will restart your app
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ The following will be set on the linked application by default:
|
|||||||
DATABASE_URL=postgres://lolipop:SOME_PASSWORD@dokku-postgres-lolipop:5432/lolipop
|
DATABASE_URL=postgres://lolipop:SOME_PASSWORD@dokku-postgres-lolipop:5432/lolipop
|
||||||
```
|
```
|
||||||
|
|
||||||
The host exposed here only works internally in docker containers. If you want your container to be reachable from outside, you should use the 'expose' subcommand. Another service can be linked to your app:
|
The host exposed here only works internally in docker containers. If you want your container to be reachable from outside, you should use the `expose` subcommand. Another service can be linked to your app:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku postgres:link other_service playground
|
dokku postgres:link other_service playground
|
||||||
@@ -401,7 +401,7 @@ Service scripting can be executed using the following commands:
|
|||||||
dokku postgres:app-links <app>
|
dokku postgres:app-links <app>
|
||||||
```
|
```
|
||||||
|
|
||||||
List all postgres services that are linked to the 'playground' app.
|
List all postgres services that are linked to the `playground` app.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku postgres:app-links playground
|
dokku postgres:app-links playground
|
||||||
@@ -448,7 +448,7 @@ dokku postgres:exists lolipop
|
|||||||
dokku postgres:linked <service> <app>
|
dokku postgres:linked <service> <app>
|
||||||
```
|
```
|
||||||
|
|
||||||
Here we check if the lolipop postgres service is linked to the 'playground' app.
|
Here we check if the lolipop postgres service is linked to the `playground` app.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku postgres:linked lolipop playground
|
dokku postgres:linked lolipop playground
|
||||||
@@ -461,7 +461,7 @@ dokku postgres:linked lolipop playground
|
|||||||
dokku postgres:links <service>
|
dokku postgres:links <service>
|
||||||
```
|
```
|
||||||
|
|
||||||
List all apps linked to the 'lolipop' postgres service.
|
List all apps linked to the `lolipop` postgres service.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku postgres:links lolipop
|
dokku postgres:links lolipop
|
||||||
@@ -566,12 +566,18 @@ flags:
|
|||||||
|
|
||||||
- `-u|--use-iam`: use the IAM profile associated with the current server
|
- `-u|--use-iam`: use the IAM profile associated with the current server
|
||||||
|
|
||||||
Backup the 'lolipop' service to the 'my-s3-bucket' bucket on ``AWS`:`
|
Backup the `lolipop` service to the `my-s3-bucket` bucket on `AWS`:`
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku postgres:backup lolipop my-s3-bucket --use-iam
|
dokku postgres:backup lolipop my-s3-bucket --use-iam
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Restore a backup file (assuming it was extracted via `tar -xf backup.tgz`):
|
||||||
|
|
||||||
|
```shell
|
||||||
|
dokku postgres:import lolipop < backup-folder/export
|
||||||
|
```
|
||||||
|
|
||||||
### sets encryption for all future backups of postgres service
|
### sets encryption for all future backups of postgres service
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -445,6 +445,10 @@ def process_sentence(sentence_lines):
|
|||||||
|
|
||||||
# some cleanup
|
# some cleanup
|
||||||
text = text.replace("(0.0.0.0)", "(`0.0.0.0`)")
|
text = text.replace("(0.0.0.0)", "(`0.0.0.0`)")
|
||||||
|
text = text.replace("'", "`")
|
||||||
|
text = text.replace("`s", "'s")
|
||||||
|
text = text.replace("``", "`")
|
||||||
|
text = text.strip(" ")
|
||||||
|
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user