Skip to content

Commit 3abd58f

Browse files
committed
Replace console with generic shell language.
Remove command line prompts so they don't get copied.
1 parent e4d1c6e commit 3abd58f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

plone/content.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
This will download and start the latest Plone 5 container, based on [Debian](https://www.debian.org/).
1919

20-
```console
21-
$ docker run -p 8080:8080 %%IMAGE%%
20+
```shell
21+
docker run -p 8080:8080 %%IMAGE%%
2222
```
2323

2424
This image includes `EXPOSE 8080` (the Plone port), so standard container linking will make it automatically available to the linked containers. Now you can add a Plone Site at http://localhost:8080. The default Zope user and password are `admin/admin`.
@@ -29,31 +29,31 @@ A ZEO cluster is best suited for production setups. You will **need** a load bal
2929

3030
Start ZEO server in the background.
3131

32-
```console
33-
$ docker run --name=zeo %%IMAGE%% zeo
32+
```shell
33+
docker run --name=zeo %%IMAGE%% zeo
3434
```
3535

3636
Start two Plone clients, also in the background.
3737

38-
```console
39-
$ docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8081:8080 %%IMAGE%%
40-
$ docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8082:8080 %%IMAGE%%
38+
```shell
39+
docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8081:8080 %%IMAGE%%
40+
docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8082:8080 %%IMAGE%%
4141
```
4242

4343
### Start Plone in debug mode
4444

4545
You can also start Plone in debug mode (`fg`) by running the following command.
4646

47-
```console
48-
$ docker run -p 8080:8080 %%IMAGE%% fg
47+
```shell
48+
docker run -p 8080:8080 %%IMAGE%% fg
4949
```
5050

5151
### Add-ons
5252

5353
You can enable Plone add-ons via the `ADDONS` environment variable.
5454

55-
```console
56-
$ docker run -p 8080:8080 -e PLONE_ADDONS="eea.facetednavigation Products.PloneFormGen" %%IMAGE%%
55+
```shell
56+
docker run -p 8080:8080 -e PLONE_ADDONS="eea.facetednavigation Products.PloneFormGen" %%IMAGE%%
5757
```
5858

5959
For more information on how to extend this image with your own custom settings, adding more add-ons, building it, or mounting volumes, please refer to the [Plone 5 documentation](https://5.docs.plone.org/manage/docker/docs/index.html).
@@ -71,20 +71,20 @@ The Plone image uses several environment variables.
7171

7272
Run Plone and install two add-ons (`eea.facetednavigation` and `collective.easyform`).
7373

74-
```console
75-
$ docker run -p 8080:8080 -e SITE="mysite" -e ADDONS="eea.facetednavigation collective.easyform" %%IMAGE%%
74+
```shell
75+
docker run -p 8080:8080 -e SITE="mysite" -e ADDONS="eea.facetednavigation collective.easyform" %%IMAGE%%
7676
```
7777

7878
To use specific add-on versions, change the environment variable arguments as shown.
7979

80-
```console
81-
-e ADDONS="eea.facetednavigation collective.easyform" \
82-
-e VERSIONS="eea.facetednavigation=13.3 collective.easyform=2.1.0"
80+
```shell
81+
-e ADDONS="eea.facetednavigation collective.easyform" \
82+
-e VERSIONS="eea.facetednavigation=13.3 collective.easyform=2.1.0"
8383
```
8484

8585
To use Plone REST API, start the Plone Docker image, then issue a command to `curl`.
8686

87-
```console
87+
```shell
8888
docker run -p 8080:8080 -e SITE=plone %%IMAGE%%
8989
curl -H 'Accept: application/json' http://localhost:8080/plone
9090
```

0 commit comments

Comments
 (0)