1
0
Fork 0
freesewing/markdown/dev/howtos/code/create-new-design/en.md

41 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: Creating a new pattern design
---
2022-10-14 16:03:47 +02:00
When creating a new design, you have two options. You can create it in a
stand-alone development environment. Or, you can create it inside (your fork of)
2022-10-14 16:03:47 +02:00
the FreeSewing monorepo.
If you are unsure what to pick, go with the stand-alone 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
2023-09-30 15:57:51 +02:00
To setup the stand-alone development environment, you need NodeJS 18 or higher.
Then run:
```sh
2023-09-30 15:57:51 +02:00
npx @freesewing/new-design
```
This command will setup FreeSewing's stand-alone development environment.
## Work inside the monorepo
First, [fork our monorepo](https://github.com/freesewing/freesewing/fork). Then run:
```sh
git clone <url to your fork>
cd freesewing
yarn kickstart
yarn new design
```
These commands will clone your fork of the
[freesewing/freesewing](https://github.com/freesewing/freesewing) repository on
GitHub and set it up for development.