You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,9 +72,14 @@ These steps use **Node** and **Yarn** to run the development app.
72
72
73
73
Runs the Gulp and Browser-Sync tasks, launching the local website for development mode.
74
74
75
+
### `npm run dev:docker`
76
+
77
+
Sets the `IS_DOCKER=true` environment variable before running the Gulp and Browser-Sync tasks inside a Docker container. It doesn't launch the local website for development mode.
78
+
> This command runs only in a Linux environment.
79
+
75
80
### `npm start`
76
81
77
-
Starts a simple ExpressJS web server serving the static website app from its static middleware.
82
+
Runs a simple ExpressJS web server serving the static website app using its static middleware.
> **INFO:** This option requires having the static website development HTML, CSS and JavaScript files inside a `"/public"` directory, consisting of at least:
100
+
> **INFO:** This option requires having the static website development HTML, CSS, and JavaScript files inside a `FILE_DIRECTORY` directory in the host machine. This example uses a `FILE_DIRECTORY` named `"/public"`, which contains at least:
96
101
97
102
```
98
103
├─ my-website-project
99
104
│ ├─ public
100
105
│ ├─── index.html
101
106
│ ├─── ...
102
107
```
103
-
Navigate to the website project directory (for example, `"my-website-project"`) using a terminal, then run:
108
+
Navigate to the root project directory (for example, `"my-website-project"`) using a terminal, then run:
0 commit comments