Skip to content

Commit 495f8e7

Browse files
committed
examples: web-analytics update README
1 parent 3fe3722 commit 495f8e7

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

examples/web-analytics/README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -213,18 +213,17 @@ Now, you can run the Cube.js server with the following command:
213213
$ npm start
214214
```
215215

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.
228227

229228
### 5. Enable Authentication via Google OAuth 2 (Optional)
230229

0 commit comments

Comments
 (0)