Skip to content

Commit

Permalink
chore: node 20 installation (#2004)
Browse files Browse the repository at this point in the history
* chore: node 20 installation

* misc: changed to v20 everywhere

* remove autoformatting
  • Loading branch information
ramadanomar authored Feb 21, 2024
1 parent 7b82c6e commit 684cfb3
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions docusaurus/docs/dev-docs/deployment/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,18 +337,16 @@ sudo apt install libpng-dev build-essential -y
For Node.js it is recommended you use the [official source](https://github.com/nodesource/distributions/blob/master/README.md#debinstall), per the instructions we will use the following commands:

```bash
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install nodejs -y
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
```

Likewise for Yarn we will use the instructions from the [Yarn documentation](https://classic.yarnpkg.com/en/docs/install/#debian-stable):
Likewise for Yarn we will use the instructions from the [Yarn documentation](https://yarnpkg.com/getting-started/install):

```bash
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt update
sudo apt install yarn -y
corepack enable
yarn set version stable
yarn install
```

To verify you have everything installed properly you can run the following:
Expand Down Expand Up @@ -699,4 +697,4 @@ There are many different types of proxy services you could use, anything from lo

#### 3. File upload providers

There are many options for storing files outside of your virtual machine, Strapi have built a few and the community is constantly building new ones. See the [following guide](/dev-docs/providers) on searching for options as well as installing them.
There are many options for storing files outside of your virtual machine, Strapi have built a few and the community is constantly building new ones. See the [following guide](/dev-docs/providers) on searching for options as well as installing them.

0 comments on commit 684cfb3

Please sign in to comment.