This is an automated email from the ASF dual-hosted git repository.
alsuliman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new 663821c1b7 [NO ISSUE][DASHBOARD]: update dashboard README
663821c1b7 is described below
commit 663821c1b7581d05765ac01632c1b303ceb5eec6
Author: Janhavi Tripurwar <[email protected]>
AuthorDate: Mon Apr 28 21:39:23 2025 +0530
[NO ISSUE][DASHBOARD]: update dashboard README
- user model changes: no
- storage format changes: no
- interface changes: no
Change-Id: I594225d015960f39d319431c700008bb6cff5e48
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19725
Reviewed-by: Janhavi Tripurwar <[email protected]>
Reviewed-by: Ian Maxon <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
---
asterixdb/asterix-dashboard/src/node/README.md | 33 ++++++++++++++++++++++----
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/asterixdb/asterix-dashboard/src/node/README.md
b/asterixdb/asterix-dashboard/src/node/README.md
index 14f16fcc22..df31baf347 100755
--- a/asterixdb/asterix-dashboard/src/node/README.md
+++ b/asterixdb/asterix-dashboard/src/node/README.md
@@ -24,6 +24,11 @@ This project was generated with [Angular
CLI](https://github.com/angular/angular
## Installation
+Navigate to the project directory:
+```
+cd /asterixdb/asterixdb/asterix-dashboard/src/node
+```
+
Install node and npm, any of the latest versions will do.
Run `npm install` to download all the dependency packages an recreate the
node_modules directory.
@@ -36,12 +41,30 @@ The development version uses the webpack proxy to avoid
CORS problems in Angular
Please check `proxy.config.js` to see how it's configured.
-Run `ng serve` or `npm start` for a dev server. Navigate to
`http://localhost:4200/`. The app will automatically reload if you change any
of the source files.
+## Running the Application
+
+1. Start the development server with proxy configuration:
+ ```
+ ng serve --proxy-config proxy.config.js
+ ```
+ This will start a dev server at port 4200. Navigate to
`http://localhost:4200/` in your web browser to access the application.
+
+2. Ensure the backend server is running to get results on the proxy server.
+ The backend server can be started using `AsterixServerIntegrationUtil` or
`AsterixHyracksIntegrationUtil`.
-A technical document describing the internals and architecture exist, here:
+## Troubleshooting
-`https://github.com/EmilioMobile/asterixdb-dashboard/blob/master/documents/AsterixDB%20Architecture%20v1.0.pdf?raw=true`
+If you encounter the following error:
+```
+Error: error:0308010C:digital envelope routines::unsupported
+```
-A brief user guide document describing how to use it, here:
+Run the following command before starting the server:
+```
+export NODE_OPTIONS=--openssl-legacy-provider
+```
-`https://github.com/EmilioMobile/asterixdb-dashboard/blob/master/documents/AsterixDB%20User%20Guide%20v1.0.pptx?raw=true`
+Then try running the server again:
+```
+ng serve --proxy-config proxy.config.js
+```