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: examples/web-analytics/README.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -213,18 +213,17 @@ Now, you can run the Cube.js server with the following command:
213
213
$ npm start
214
214
```
215
215
216
-
By default, it starts in the development environment and serves Cube.js
217
-
Playground on the root route. You can run it in the production mode by setting
218
-
`NODE_ENV=production` env variable, in that case it will serve the frontend app from the root
219
-
route.
220
-
221
-
In development you can run the frontend app as a seprate process by navigating
222
-
into `dashboard-app` folder, installing dependencies and running `yarn start`.
223
-
224
-
You can easily build a docker image from the provided Dockerfile. Before doing
225
-
this you need to build a frontend application. To do that navigate into
226
-
`dashboard-app` folder, install all the dependencies via NPM or Yarn, and run
227
-
`yarn build`.
216
+
It will start the Cube.js server on [http://localhost:3000](http://localhost:3000). By default, it starts in the development environment and serves Cube.js
217
+
Playground on the root route. To start the frontend app in the development you can navigate
218
+
into `dashboard-app` folder, install dependencies, and run `yarn start`.
219
+
It will start serving the frontend app from [http://localhost:4000](http://localhost:4000).
220
+
221
+
To run it in the production mode you need first to build the frontend. To do that navigate into
222
+
`dashboard-app` folder, install dependencies, and run
223
+
`yarn build`. Then start the Cube.js server in the production mode by setting `NODE_ENV=production` env variable.
224
+
It will serve the frontend app on the root route in the production mode.
225
+
226
+
For deployment, you can easily build a docker image from the provided Dockerfile.
228
227
229
228
### 5. Enable Authentication via Google OAuth 2 (Optional)
0 commit comments