diff --git a/markdown/dev/tutorials/getting-started-linux/dev-setup/en.md b/markdown/dev/tutorials/getting-started-linux/dev-setup/en.md index 567bbb0d1b8..5d95eddacd7 100644 --- a/markdown/dev/tutorials/getting-started-linux/dev-setup/en.md +++ b/markdown/dev/tutorials/getting-started-linux/dev-setup/en.md @@ -3,16 +3,21 @@ title: Setting up the FreeSewing development environment order: 40 --- -FreeSewing provides a development environment to help you design and develop patterns. +FreeSewing provides a development environment to help you design and develop +patterns. There are two ways to run this development environment: -- [**Monorepo development**](#monorepo-development): Use this if you intend to contribute your work to FreeSewing -- [**Stand-alone development**](#stand-alone-development): Use this if you want to do your own thing, and not contribute to FreeSewing +- [**Monorepo development**](#monorepo-development): Use this if you intend to + contribute your work to FreeSewing +- [**Stand-alone development**](#stand-alone-development): Use this if you want + to do your own thing, and not contribute to FreeSewing ## Monorepo development -This is the recommended way for (aspiring) FreeSewing contributors + +This is the recommended way for (aspiring) FreeSewing contributors + ### TL;DR @@ -23,16 +28,29 @@ yarn kickstart ``` -Even better: [clone your own fork](https://github.com/freesewing/freesewing/fork) +Even better: [clone your own +fork](https://github.com/freesewing/freesewing/fork) ```bash git clone https://github.com/your-username/freesewing cd freesewing yarn kickstart ``` - +This sets up the monorepo. If you would like to create a new design, run the +following command: + +```sh +yarn new design +``` + +If you'd like to create a new plugin, run this variant instead: + +```sh +yarn new plugin +``` + ### Step by step @@ -77,22 +95,43 @@ yarn kickstart Now you're ready to [start the development environment](/tutorials/getting-started-linux/dev-start). +## Creating a new design + +If you would like to create a new design, run the following command: + +```sh +yarn new design +``` + +## Creating a new plugin + +If you'd like to create a new plugin, run the following comand: + +```sh +yarn new plugin +``` + ## Stand-alone development With NodeJS installed, all you need to do to setup the stand-alone development environment is run this command: ```bash -npx @freesewing/new-design +npx @freesewing/new-design@next ``` -After you've answered [some questions](#questions), it will take a while to set everything up. -When it's done, you will have a new folder with the development environment inside. +Remove `@next` tag when v3 is released -Now you're ready to [start the development environment](/tutorials/getting-started-linux/dev-start). +After you've answered [some questions](#questions), it will take a while to set +everything up. When it's done, you will have a new folder with the development +environment inside. + +Now you're ready to [start the development +environment](/tutorials/getting-started-linux/dev-start). The folder will have the name you chose above. + ### Questions #### What template to use diff --git a/markdown/dev/tutorials/getting-started-linux/installing-nvm/en.md b/markdown/dev/tutorials/getting-started-linux/installing-nvm/en.md index a4b7f848216..60a202af7e4 100644 --- a/markdown/dev/tutorials/getting-started-linux/installing-nvm/en.md +++ b/markdown/dev/tutorials/getting-started-linux/installing-nvm/en.md @@ -17,19 +17,7 @@ the node.js website, or from a package provided by your linux distribution: To setup nvm, [follow the install instructions in the nvm README](https://github.com/nvm-sh/nvm#installing-and-updating). -The TL;DR: is to run the following command in a terminal: - -```bash -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash -``` - -If you don't have `curl` on your system, here's an alternative approach using `wget`: - -```bash -wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash -``` - -After the script is completed, try running the following command: +After installation is completed, try running the following command: ```bash nvm