1
0
Fork 0
freesewing/markdown/dev/tutorials/getting-started-mac/dev-start/en.md
2022-07-31 16:11:50 +02:00

1.8 KiB

title order
Start the development environment 50

FreeSewing provides a development environment to help you design and develop patterns.

There are two ways to run this development environment:

Monorepo development

Run yarn lab to start the development environment:

yarn lab

Then point your browser to http://localhost:8000

### Adding a new design This is all you need to work on existing designs. If you'd like to add a new design, run:
yarn new design

Just make sure to re-start the lab afterwards with yarn lab

Standalone development

You will have a new folder that has the name you picked for your design. If you chose test, you will have a test folder. If you chose banana, you'll have a banana folder.

The design subfolder holds your design's configuration file and source code. You can ignore all other folders and files, they are part of the development environment.

To start the development environment, enter the folder hat was created and run npm run start (or yarn start if you're using Yarn as a package manager).

Then open your browser and go to http://localhost:8000

The development environment will watch for any changes you make to the pattern's source code or configuration. When you do, it will update automatically in your browser.
Yay, you're done!

All you have to do now, is design your pattern. Thankfully, we have a tutorial for that too: