Skip to content

Commit

Permalink
Clarify & harmonize Node version usage (#1889)
Browse files Browse the repository at this point in the history
* Harmonize install prereq.

* Clarify node releases
  • Loading branch information
pwizla authored Oct 20, 2023
1 parent bcd22a6 commit 67e0079
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docusaurus/docs/dev-docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import HardwareRequire from '/docs/snippets/hardware-require.md'
import OperatingSystemRequire from '/docs/snippets/operating-system-require.md'
import ConsiderStrapiCloud from '/docs/snippets/consider-strapi-cloud.md'
import CommunityGuides from '/docs/snippets/community-deployment-guides.md'
import InstallPrereq from '/docs/snippets/installation-prerequisites.md'

# Deployment

Expand All @@ -32,8 +33,7 @@ Another possible workflow is to first create the data structure locally, push yo

To provide the best possible environment for Strapi the following requirements apply to development (local) and staging and production workflows.

- Node LTS (currently v16, v18, and v20) **Odd-number releases of Node are not supported (e.g. v17, v19).**
- NPM v6 (or the version shipped with the LTS Node versions)
<InstallPrereq />
- Standard build tools for your OS (the `build-essentials` package on most Debian-based systems)
- Hardware specifications for your server (CPU, RAM, storage):

Expand Down
8 changes: 5 additions & 3 deletions docusaurus/docs/dev-docs/deployment/amazon-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ import ConsiderStrapiCloud from '/docs/snippets/consider-strapi-cloud.md'

# Amazon AWS


This is a step-by-step guide for deploying a Strapi project to [Amazon AWS EC2](https://aws.amazon.com/ec2/) inside your [AWS VPC](https://aws.amazon.com/vpc/). This guide will connect to an [Amazon AWS RDS](https://aws.amazon.com/rds/) for managing and hosting the database. Optionally, this guide will show you how to connect host and serve images on [Amazon AWS S3](https://aws.amazon.com/s3/).

Prior to starting this guide, you should have created a [Strapi project](/dev-docs/quick-start), to use for deploying on AWS. And have read through the [configuration](/dev-docs/deployment#application-configuration) section.
:::prerequisites
- You have created a [Strapi project](/dev-docs/quick-start), to use for deploying on AWS.
- You have read through the [configuration](/dev-docs/deployment#application-configuration) section.
:::

<ConsiderStrapiCloud />

Expand Down Expand Up @@ -253,7 +255,7 @@ [email protected]:~$

#### 3. Install **Node.js** with **npm**:

Strapi currently supports `Node.js` `v16.x.x`, `v18.x.x`, and `v20.x.x`. The following steps will install Node.js onto your EC2 server.
The following steps will install Node.js onto your EC2 server.

```bash title="example using Node.js 20"
cd ~
Expand Down
4 changes: 1 addition & 3 deletions docusaurus/docs/snippets/installation-prerequisites.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Before installing Strapi, the following requirements must be installed on your computer:

- [Node.js](https://nodejs.org): Only Maintenance and LTS versions are supported (`v16`, `v18`, and `v20`).
- Node v18.x is recommended for Strapi `v4.3.9` and above
- Node v16.x is recommended for Strapi `v4.0.x` to `v4.3.8`.
- [Node.js](https://nodejs.org): Only [Active LTS or Maintenance LTS versions](https://nodejs.dev/en/about/releases/) are supported (currently `v18` and `v20`). Odd-number releases of Node, known as "current" versions of Node.js, are not supported (e.g. v19, v21).
- Your preferred Node.js package manager:
- [npm](https://docs.npmjs.com/cli/v6/commands/npm-install) (`v6` and above)
- [yarn](https://yarnpkg.com/getting-started/install)
Expand Down

1 comment on commit 67e0079

@vercel
Copy link

@vercel vercel bot commented on 67e0079 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

documentation-strapijs.vercel.app
docs-vercel-v4.strapi.io
documentation-git-main-strapijs.vercel.app

Please sign in to comment.