chore: Updates to docs for new dev env
This commit is contained in:
parent
474188a05e
commit
8cd70bc451
37 changed files with 500 additions and 350 deletions
53
markdown/dev/tutorials/pattern-design/new-design/en.md
Normal file
53
markdown/dev/tutorials/pattern-design/new-design/en.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
title: Setting up the development environment
|
||||
order: 100
|
||||
---
|
||||
|
||||
Open a terminal and enter the following command:
|
||||
|
||||
```bash
|
||||
npx @freesewing/new-design
|
||||
```
|
||||
|
||||
You'll be asked some questions, use these answers:
|
||||
|
||||
- **What template would you like to use?**: Pick the default `From scratch`
|
||||
- **What name would you like the design to have**: Enter `bib`
|
||||
- **What package manager do you use?**: Pick `npm` unless you are certain you have `yarn` installed
|
||||
|
||||
After you've answered these questions, files will be copied, dependencies installed, and components downloaded.
|
||||
|
||||
<Note>
|
||||
|
||||
This will take a few minutes because we're loading some software for your development environment.
|
||||
|
||||
</Note>
|
||||
|
||||
When it's ready, enter the `bib` directory that was just created and run `npm run dev`:
|
||||
|
||||
```bash
|
||||
cd bib
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd bib
|
||||
yarn start
|
||||
```
|
||||
|
||||
Now open your browser at http://localhost:8000
|
||||
|
||||
If all goes well, you should see this landing page:
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
|
||||
###### Need help?
|
||||
|
||||
If you run into any issues, join [our chatroom](https://discord.freesewing.org/) and
|
||||
we'll figure it out together.
|
||||
|
||||
</Note>
|
BIN
markdown/dev/tutorials/pattern-design/new-design/nd.png
Normal file
BIN
markdown/dev/tutorials/pattern-design/new-design/nd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 356 KiB |
Loading…
Add table
Add a link
Reference in a new issue