diff --git a/guide/starting-a-pear-desktop-project.md b/guide/starting-a-pear-desktop-project.md index 18899e5..f993a92 100644 --- a/guide/starting-a-pear-desktop-project.md +++ b/guide/starting-a-pear-desktop-project.md @@ -1,10 +1,10 @@ # Starting a Pear Desktop Project -In preparation for [Making a Pear Desktop Application](./making-a-pear-desktop-app.md) the following steps outline how to generate, configure, and develop a Pear Desktop Project. +This section shows how to generate, configure, and develop a Pear desktop project, in preparation for [Making a Pear Desktop Application](./making-a-pear-desktop-app.md). ## Step 1. Initialization -To create a new Pear project use `pear init`. +Use `pear init` to create a new Pear project. ``` mkdir chat @@ -12,46 +12,44 @@ cd chat pear init --yes ``` -This will create a base structure for the project. +This creates the base project structure. -- `package.json`. Configuration for the app. Notice the `pear` property. -- `index.html`. The html for the app. -- `app.js`. The main code. -- `test/index.test.js`. Skeleton for writing tests. +- `package.json`. App configuration. Notice the `pear` property. +- `index.js`. App entrypoint. +- `app.js`. Main code. +- `test/index.test.js`. Test skeleton. -## Step 2. Check that everything works +## Step 2. Verify Everything Works -Before writing any code, make sure that everything works the way it's supposed to by using `pear dev`. +Use `pear dev` to verify everything works as expected. ``` pear dev ``` -This will open the app in development mode, by default developer tools are also opened. +The app should open in development mode. By default, developer tools are also opened.  -## Step 3. Automatic reload +## Step 3. Automatic Reload -By default Pear watches project files and automatically reloads the page when files change. +Pear watches project files. When they change, the app is automatically reloaded. -This means that there is no need to stop and start the app again to see changes. +While keeping the `pear dev` command running, open `index.html` in an editor. -While keeping the app open with `pear dev`, open `index.html` in a code editor. +Change `