1
0
Fork 0
freesewing/markdown/dev/howtos/code/create-new-design/en.md
2022-10-12 14:42:45 +02:00

1.2 KiB

title for about
Creating a new pattern design developers Shows you how to create a new design

When creating a new design, you have two options:

  • Create it in a stand-along development environment
  • Create it inside (your fork of ) the FreeSewing monorepo

If you are unsure what to pick, go with the standalong development environment. It is the best choice for people new to FreeSewing.

Working inside the monorepo is the preferred way of regular contributors, but if you were a regular contributor, you would probably already know this. So when in doubt, go stand-alone. You can always change track later.

Stand-alone

To setup the standalong development environment, you need NodeJS 16 or higher. Then run:

npx @freesewing/new-design@next

This command will setup FreeSewing's stand-alone development environment.

Work inside the monorepo

First, fork our monorepo. Then run:

git clone <url to your fork>
cd freesewing
yarn kickstart
yarn new design

These commands will clone your fork of the freesewing/freesewing repository on Github and set it up for development.