-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c07650f
commit 7d62010
Showing
1 changed file
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,15 +48,28 @@ git config --global user.name "Your Name" | |
git config --global user.email "[email protected]" | ||
``` | ||
|
||
3. Install Node.js, nvm, yarn | ||
3. Install nvm, node.js and yarn | ||
<ArticleWarning> | ||
|
||
Use `nvm` to install the correct `node` version. The `.nvmrc` ensures all contributors use the same version. | ||
|
||
</ArticleWarning> | ||
|
||
```bash | ||
sudo apt-get install curl | ||
|
||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash | ||
``` | ||
Close and reopen your terminal to use nvm. Then run the following commands. | ||
|
||
```bash | ||
|
||
nvm install # installs recommended node version | ||
|
||
nvm use # use recommended node version | ||
|
||
corepack enable | ||
``` | ||
Close and reopen your terminal to start using nvm. | ||
|
||
</ArticleTab> | ||
</ArticleTabs> | ||
|
@@ -186,17 +199,8 @@ cp ./packages/twenty-server/.env.example ./packages/twenty-server/.env | |
``` | ||
|
||
## Step 6: Installing dependencies | ||
|
||
<ArticleWarning> | ||
|
||
Use `nvm` to install the correct `node` version. The `.nvmrc` ensures all contributors use the same version. | ||
|
||
</ArticleWarning> | ||
|
||
To build Twenty server and seed some data into your database, run the following commands: | ||
To build Twenty server and seed some data into your database, run the following command: | ||
```bash | ||
nvm install # installs recommended node version | ||
nvm use # use recommended node version | ||
yarn | ||
``` | ||
|
||
|
@@ -279,4 +283,4 @@ This should work out of the box with the eslint extension installed. If this doe | |
} | ||
``` | ||
|
||
<ArticleEditContent></ArticleEditContent> | ||
<ArticleEditContent></ArticleEditContent> |