feat: Flat import of markdown repo
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
This commit is contained in:
parent
1671a896b5
commit
b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions
Binary file not shown.
After Width: | Height: | Size: 151 KiB |
|
@ -0,0 +1,73 @@
|
|||
---
|
||||
title: 100|Setting up the development environment
|
||||
---
|
||||
|
||||
Open a terminal and enter the following command:
|
||||
|
||||
```bash
|
||||
npm init freesewing-pattern
|
||||
```
|
||||
|
||||
This will load a few dependencies, and then ask you the following questions:
|
||||
|
||||
- **Language**: Use the arrow keys to select the language of your choice
|
||||
- **Pattern name**: Enter `tutorial`
|
||||
- **description**: Enter `The FreeSewing tutorial`
|
||||
- **Pattern type**: Use the arrow key to select `Pattern`
|
||||
- **Department**: Use the arrow keys to select `Accessories`
|
||||
- **Author**: Enter your GitHub username
|
||||
- **GitHub repository**: This will be prefilled for you, so just hit Enter
|
||||
- **Package manager**: Use the arrow to choose. Pick `NPM` if you're not sure.
|
||||
|
||||
After you've answered these questions, the default template will be copied, after which all dependencies will be installed.
|
||||
|
||||
<Note>
|
||||
|
||||
This will take a few minutes because we're loading some software for your development environment.
|
||||
|
||||
</Note>
|
||||
|
||||
When it's ready, you'll need to run two commands in parallel. In the current terminal, enter the directory that was just created for our `tutorial` pattern and start rollup in watch mode:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
npm run start
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
yarn start
|
||||
```
|
||||
|
||||
Now open a second terminal, and navigate to the `example` subfolder and run the same command there:
|
||||
|
||||
```bash:
|
||||
cd tutorial/example
|
||||
npm run start
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial/example
|
||||
yarn start
|
||||
```
|
||||
|
||||
If all goes well, your browser will open and show the following landing page:
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
|
||||
###### Using Windows?
|
||||
|
||||
We have tested this on Linux and MacOS, but not on Windows since I (joost) don't have
|
||||
a Windows machine I can test this on.
|
||||
|
||||
If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and
|
||||
we'll figure it out together.
|
||||
|
||||
</Note>
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
---
|
||||
title: Setting up the development environment
|
||||
order: 100
|
||||
---
|
||||
|
||||
Open a terminal and enter the following command:
|
||||
|
||||
```bash
|
||||
npm init freesewing-pattern
|
||||
```
|
||||
|
||||
This will load a few dependencies, and then ask you the following questions:
|
||||
|
||||
- **Language**: Use the arrow keys to select the language of your choice
|
||||
- **Pattern name**: Enter `tutorial`
|
||||
- **description**: Enter `The FreeSewing tutorial`
|
||||
- **Pattern type**: Use the arrow key to select `Pattern`
|
||||
- **Department**: Use the arrow keys to select `Accessories`
|
||||
- **Author**: Enter your GitHub username
|
||||
- **GitHub repository**: This will be prefilled for you, so just hit Enter
|
||||
- **Package manager**: Use the arrow to choose. Pick `NPM` if you're not sure.
|
||||
|
||||
After you've answered these questions, the default template will be copied, after which all dependencies will be installed.
|
||||
|
||||
<Note>
|
||||
|
||||
This will take a few minutes because we're loading some software for your development environment.
|
||||
|
||||
</Note>
|
||||
|
||||
When it's ready, you'll need to run two commands in parallel. In the current terminal,
|
||||
enter the directory that was just created for our `tutorial` pattern and start rollup in watch mode:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
npm run start
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
yarn start
|
||||
```
|
||||
|
||||
Now open a second terminal, and navigate to the `example` subfolder and run the same command there:
|
||||
|
||||
```bash:
|
||||
cd tutorial/example
|
||||
npm run start
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial/example
|
||||
yarn start
|
||||
```
|
||||
|
||||
If all goes well, your browser will open and show the following landing page:
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
|
||||
###### Using Windows?
|
||||
|
||||
We have tested this on Linux and MacOS, but not on Windows since I (joost) don't have
|
||||
a Windows machine I can test this on.
|
||||
|
||||
If you run into any issues, join [our chatroom](https://discord.freesewing.org/) and
|
||||
we'll figure it out together.
|
||||
|
||||
</Note>
|
|
@ -0,0 +1,73 @@
|
|||
---
|
||||
title: 100|Setting up the development environment
|
||||
---
|
||||
|
||||
Open a terminal and enter the following command:
|
||||
|
||||
```bash
|
||||
npm init freesewing-pattern
|
||||
```
|
||||
|
||||
This will load a few dependencies, and then ask you the following questions:
|
||||
|
||||
- **Language**: Use the arrow keys to select the language of your choice
|
||||
- **Pattern name**: Enter `tutorial`
|
||||
- **description**: Enter `The FreeSewing tutorial`
|
||||
- **Pattern type**: Use the arrow key to select `Pattern`
|
||||
- **Department**: Use the arrow keys to select `Accessories`
|
||||
- **Author**: Enter your GitHub username
|
||||
- **GitHub repository**: This will be prefilled for you, so just hit Enter
|
||||
- **Package manager**: Use the arrow to choose. Pick `NPM` if you're not sure.
|
||||
|
||||
After you've answered these questions, the default template will be copied, after which all dependencies will be installed.
|
||||
|
||||
<Note>
|
||||
|
||||
This will take a few minutes because we're loading some software for your development environment.
|
||||
|
||||
</Note>
|
||||
|
||||
When it's ready, you'll need to run two commands in parallel. In the current terminal, enter the directory that was just created for our `tutorial` pattern and start rollup in watch mode:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
npm run start
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
yarn start
|
||||
```
|
||||
|
||||
Now open a second terminal, and navigate to the `example` subfolder and run the same command there:
|
||||
|
||||
```bash:
|
||||
cd tutorial/example
|
||||
npm run start
|
||||
```
|
||||
|
||||
Or if you chose to use Yarn as package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial/example
|
||||
yarn start
|
||||
```
|
||||
|
||||
If all goes well, your browser will open and show the following landing page:
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
|
||||
###### Using Windows?
|
||||
|
||||
We have tested this on Linux and MacOS, but not on Windows since I (joost) don't have
|
||||
a Windows machine I can test this on.
|
||||
|
||||
If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and
|
||||
we'll figure it out together.
|
||||
|
||||
</Note>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
title: 100|Setting up the development environment
|
||||
---
|
||||
|
||||
Ouvrez un terminal et entrez la commande suivante :
|
||||
|
||||
```bash
|
||||
npm init freesewing-pattern
|
||||
```
|
||||
|
||||
Cela va charger quelques dépendances, puis vous demander les questions suivantes :
|
||||
|
||||
- **Language**: Use the arrow keys to select the language of your choice
|
||||
- **Pattern name**: Enter `tutorial`
|
||||
- **description**: Enter `The FreeSewing tutorial`
|
||||
- **Pattern type**: Use the arrow key to select `Pattern`
|
||||
- **Department**: Use the arrow keys to select `Accessories`
|
||||
- **Author**: Enter your GitHub username
|
||||
- **GitHub repository**: This will be prefilled for you, so just hit Enter
|
||||
- **Package manager**: Use the arrow to choose. En cas de doute, prenez `NPM`.
|
||||
|
||||
Après avoir répondu à toutes ces questions, le modèle par défaut sera copié, après quoi toutes les dépendances seront installées.
|
||||
|
||||
<Note>
|
||||
|
||||
Cela prendra quelques minutes car nous chargeons des logiciels pour votre environnement de développement.
|
||||
|
||||
</Note>
|
||||
|
||||
Lorsque c'est prêt, vous devrez exécuter deux commandes en parallèle. Dans le terminal courant, entrez le répertoire qui vient d'être créé pour notre patron `tutorial` et démarrez rollup en mode veille :
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
npm run start
|
||||
```
|
||||
|
||||
Ou si vous choisissez d'utiliser Yarn en tant que gestionnaire de package :
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
yarn start
|
||||
```
|
||||
|
||||
Maintenant, ouvrez un second terminal, et naviguez jusqu'au sous-dossier `example` et exécutez la même commande là :
|
||||
|
||||
```bash:
|
||||
cd tutorial/example
|
||||
npm run start
|
||||
```
|
||||
|
||||
Ou si vous choisissez d'utiliser Yarn en tant que gestionnaire de package :
|
||||
|
||||
```bash
|
||||
cd tutorial/example
|
||||
yarn start
|
||||
```
|
||||
|
||||
Si tout se passe bien, votre navigateur s'ouvrira et vous montrera la page suivante :
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
|
||||
###### Using Windows?
|
||||
|
||||
Nous avons testé ceci sur Linux et MacOS, mais pas sur Windows étant donné que je (Joost) ne possède pas une machine Windows sur laquelle je pourrais le tester.
|
||||
|
||||
If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and
|
||||
we'll figure it out together.
|
||||
|
||||
</Note>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
title: 100|Setting up the development environment
|
||||
---
|
||||
|
||||
Open een terminal en voer de volgende opdracht in:
|
||||
|
||||
```bash
|
||||
npm init freesewing-pattern
|
||||
```
|
||||
|
||||
Deze opdracht laadt een aantal dependencies en stelt je dan de volgende vragen:
|
||||
|
||||
- **Language**: Use the arrow keys to select the language of your choice
|
||||
- **Pattern name**: Enter `tutorial`
|
||||
- **description**: Enter `The FreeSewing tutorial`
|
||||
- **Pattern type**: Use the arrow key to select `Pattern`
|
||||
- **Department**: Use the arrow keys to select `Accessories`
|
||||
- **Author**: Enter your GitHub username
|
||||
- **GitHub repository**: This will be prefilled for you, so just hit Enter
|
||||
- **Package manager**: Use the arrow to choose. Kies `NPM` als je het niet zeker weet.
|
||||
|
||||
Nadat je deze vragen beantwoord hebt, wordt er een standaardtemplate gekopieerd. Daarna worden alle dependencies geïnstalleerd.
|
||||
|
||||
<Note>
|
||||
|
||||
Dit duurt een paar minuten aangezien we software voor je development-omgeving aan het laden zijn.
|
||||
|
||||
</Note>
|
||||
|
||||
Als het klaar is, moet je twee opdrachten parallel invoeren. In de huidige terminal geef je de directory in die we net gemaakt hebben voor het `tutorial`-patroon en begin rollup in de volgmodus:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
npm run start
|
||||
```
|
||||
|
||||
Of als je Yarn gekozen hebt als package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial
|
||||
yarn start
|
||||
```
|
||||
|
||||
Open nu een tweede terminal en navigeer naar de subfolder `example`. Voer daar dezelfde opdracht in:
|
||||
|
||||
```bash:
|
||||
cd tutorial/example
|
||||
npm run start
|
||||
```
|
||||
|
||||
Of als je Yarn gekozen hebt als package manager:
|
||||
|
||||
```bash
|
||||
cd tutorial/example
|
||||
yarn start
|
||||
```
|
||||
|
||||
Als alles goed gaat, gaat je browser nu open met de volgende landingspagina:
|
||||
|
||||

|
||||
|
||||
<Note>
|
||||
|
||||
###### Using Windows?
|
||||
|
||||
We hebben dit getest op Linux en MacOS, maar nog niet op Windows.
|
||||
|
||||
If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and
|
||||
we'll figure it out together.
|
||||
|
||||
</Note>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue