>From Ian Maxon <[email protected]>: Ian Maxon has submitted this change. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19725 )
Change subject: [NO ISSUE][DASHBOARD]: update dashboard README ...................................................................... [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]> --- M asterixdb/asterix-dashboard/src/node/README.md 1 file changed, 46 insertions(+), 5 deletions(-) Approvals: Ian Maxon: Looks good to me, approved Janhavi Tripurwar: Looks good to me, but someone else must approve Jenkins: Verified; Verified Anon. E. Moose #1000171: diff --git a/asterixdb/asterix-dashboard/src/node/README.md b/asterixdb/asterix-dashboard/src/node/README.md index 14f16fc..df31baf 100755 --- a/asterixdb/asterix-dashboard/src/node/README.md +++ b/asterixdb/asterix-dashboard/src/node/README.md @@ -24,6 +24,11 @@ ## 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 @@ 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 -A technical document describing the internals and architecture exist, here: +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. -`https://github.com/EmilioMobile/asterixdb-dashboard/blob/master/documents/AsterixDB%20Architecture%20v1.0.pdf?raw=true` +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 brief user guide document describing how to use it, here: +## Troubleshooting -`https://github.com/EmilioMobile/asterixdb-dashboard/blob/master/documents/AsterixDB%20User%20Guide%20v1.0.pptx?raw=true` +If you encounter the following error: +``` +Error: error:0308010C:digital envelope routines::unsupported +``` + +Run the following command before starting the server: +``` +export NODE_OPTIONS=--openssl-legacy-provider +``` + +Then try running the server again: +``` +ng serve --proxy-config proxy.config.js +``` -- To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19725 To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Change-Id: I594225d015960f39d319431c700008bb6cff5e48 Gerrit-Change-Number: 19725 Gerrit-PatchSet: 2 Gerrit-Owner: Janhavi Tripurwar <[email protected]> Gerrit-Reviewer: Anon. E. Moose #1000171 Gerrit-Reviewer: Ian Maxon <[email protected]> Gerrit-Reviewer: Janhavi Tripurwar <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-MessageType: merged
