If you don’t have Node.js on your system, please follow the link above and install it on your system. Then you can really get started.
It only takes one command to start designing a new FreeSewing pattern:
npm init freesewing-pattern
First, you will be asked a couple of questions. If you’re not sure what to fill in, stick with the defaults. You can change all of these later. It’s just to get you started.
Then, this command will download a bunch of dependencies, and bootstrap your development environment. This step can take a few minutes to complete.
Once the command is completed, you will have a directory that holds your
pattern source code in the
scr folder, and its configuration
In addition, you’ll see an
example folder to help your while developing.
Now you need to run two commands in two different terminals (because they need to be running side by side):
- In the newly created folder that bears the name of your pattern, run
- In the
examplesubfolder within, also run
Your browser will spin up and open the FreeSewing development environment at http://localhost:3000
That’s it. You got started. Here are some links to continue reading:
- Pattern design tutorial: A step-by-step guide to designing your first pattern
- Core API reference: Documentation for the FreeSewing core API
- High-level overview: A list of basic concepts explained
- Plugins: A list of all the plugins that you can use in your pattern
- Get help: Where to turn to with your questions