Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit aeadf63

Browse files
Merge pull request #211 from coox/update-doc-links
doc(README): Update links to documentation 3.0.0-beta.x → v3.x
2 parents 19698d1 + 4879809 commit aeadf63

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ Use [`strapi/base`](#how-to-use-strapibase) to build a Dockerfile and create an
2020

2121
## How to use `strapi/strapi`
2222

23-
This image allows you to create a new strapi project or run a project from your host machine. The default command that will run in your project is [`strapi develop`](https://strapi.io/documentation/3.0.0-beta.x/cli/CLI.html#strapi-develop-dev).
23+
This image allows you to create a new strapi project or run a project from your host machine. The default command that will run in your project is [`strapi develop`](https://strapi.io/documentation/v3.x/cli/CLI.html#strapi-develop-dev).
2424

2525
### Creating a new project
2626

27-
When running this image, strapi will check if there is a project in the `/src/app` folder of the container. If there is nothing then it will run the [`strapi new`](https://strapi.io/documentation/3.0.0-beta.x/cli/CLI.html#strapi-new) command in the container /srv/app folder. You can create a new project by running this command.
27+
When running this image, strapi will check if there is a project in the `/src/app` folder of the container. If there is nothing then it will run the [`strapi new`](https://strapi.io/documentation/v3.x/cli/CLI.html#strapi-new) command in the container /srv/app folder. You can create a new project by running this command.
2828

2929
```bash
3030
docker run -it -p 1337:1337 -v `pwd`/project-name:/srv/app strapi/strapi
@@ -37,7 +37,7 @@ Once the project is created it will be available in this folder on your computer
3737

3838
**Environment variables**
3939

40-
When creating a new project with this image you can pass database configurations to the [`strapi new`](https://strapi.io/documentation/3.0.0-beta.x/cli/CLI.html#strapi-new) command.
40+
When creating a new project with this image you can pass database configurations to the [`strapi new`](https://strapi.io/documentation/v3.x/cli/CLI.html#strapi-new) command.
4141

4242
- `DATABASE_CLIENT` a database provider supported by Strapi: (sqlite, postgres, mysql ,mongo).
4343
- `DATABASE_HOST` database host.
@@ -46,7 +46,7 @@ When creating a new project with this image you can pass database configurations
4646
- `DATABASE_USERNAME` database username.
4747
- `DATABASE_PASSWORD` database password.
4848
- `DATABASE_SSL` boolean for SSL.
49-
- `EXTRA_ARGS` pass extra args to the [`strapi new`](https://strapi.io/documentation/3.0.0-beta.x/cli/CLI.html#strapi-new).
49+
- `EXTRA_ARGS` pass extra args to the [`strapi new`](https://strapi.io/documentation/v3.x/cli/CLI.html#strapi-new).
5050

5151
**Example**
5252

@@ -85,7 +85,7 @@ This will start by installing the dependencies and then run `strapi develop` in
8585
If you are using environment variables in your code you can pass them with the -e option (e.g `docker run -e ENV_VAR=sth ...`).
8686

8787
You can for example set your database configuration with environment variables.
88-
Because the default container command is [`strapi develop`](https://strapi.io/documentation/3.0.0-beta.x/cli/CLI.html#strapi-develop-dev) you will need to update your `development` database configuration following the `production` example in the [documentation](https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#dynamic-configurations). Then you can run:
88+
Because the default container command is [`strapi develop`](https://strapi.io/documentation/v3.x/cli/CLI.html#strapi-develop-dev) you will need to update your `development` database configuration following the `production` example in the [documentation](https://strapi.io/documentation/v3.x/concepts/configurations.html#dynamic-configurations). Then you can run:
8989

9090
```bash
9191
docker run -it \

0 commit comments

Comments
 (0)