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
-[Deployment with GitHub Actions](#deployment-with-github-actions)
22
+
-[Deployment URLs](#deployment-urls)
22
23
-[Debugging Notes](#debugging-notes)
23
24
-[Debugging Traditional Web Apps in VSCode](#debugging-traditional-webapps-in-vscode)
24
25
-[References](#references)
@@ -72,9 +73,14 @@ These steps use **Node** and **Yarn** to run the development app.
72
73
73
74
Runs the Gulp and Browser-Sync tasks, launching the local website for development mode.
74
75
76
+
### `npm run dev:docker`
77
+
78
+
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.
79
+
> This command runs only in a Linux environment.
80
+
75
81
### `npm start`
76
82
77
-
Starts a simple ExpressJS web server serving the static website app from its static middleware.
83
+
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:
101
+
> **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
102
97
103
```
98
104
├─ my-website-project
99
105
│ ├─ public
100
106
│ ├─── index.html
101
107
│ ├─── ...
102
108
```
103
-
Navigate to the website project directory (for example, `"my-website-project"`) using a terminal, then run:
109
+
Navigate to the root project directory (for example, `"my-website-project"`) using a terminal, then run:
0 commit comments