|
1 | 1 | ##Project Setup
|
2 |
| -Gettingyour projectdirectorysetup. |
| 2 | +Gettinga project setup is rarely easy. Luckily, we have a quick script that can do the work for us. |
3 | 3 |
|
4 |
| -1. Install package dependencies |
| 4 | +--- |
| 5 | + |
| 6 | +Running`> npm run setup` will do the following: |
| 7 | + |
| 8 | +1. Install package dev dependencies |
5 | 9 | 2. Create an output directory called "dist"
|
6 | 10 | 3. Install "concurrently" & "browser-sync" globally
|
7 | 11 | 4. Run our app in the browser
|
8 | 12 |
|
9 |
| -You may want to consider installing the atom package["platformio-ide-terminal"](https://github.com/platformio/platformio-atom-ide-terminal), which provides a terminal inside your editor. |
| 13 | +You'll find this "setup" script located in your*package.json*. |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +We'll be installing a lot of scripts from terminal. You may also want to consider installing the atom package["platformio-ide-terminal"](https://github.com/platformio/platformio-atom-ide-terminal), which provides a terminal inside your editor. |
| 18 | + |
10 | 19 |
|
11 |
| -+in a terminal run`>npm run setup` |
| 20 | ++Open a terminalin this project directory andrun`npm run setup`. |
12 | 21 | @test('01/01')
|
13 |
| -@hint('in a terminal run`npm run setup` to get setup') |
| 22 | +@hint('Open a terminal in this project directory and run`npm run setup` to get setup') |
14 | 23 | @action(open('package.json'))
|
15 | 24 | @action(set(
|
16 | 25 | ```
|
|