-
Notifications
You must be signed in to change notification settings - Fork 17
Administration Web App Installation
The first step in running the administration web app is to create a Deep Lynx Application.
You can create a Deep Lynx enabled application under your personal Deep Lynx account at any time. An application is needed if you plan to have your outside integration/code/application communicate with Deep Lynx on behalf of a user and your application interacts with the user it acts for. If your application cannot or does not have user interaction, e.g an application that simply sends data to Deep Lynx periodically then see Generating and Using API Keys
- Login to Deep Lynx (go to
{yourDeepLynxUrl}/oauth
in your browser) and navigate to the Profile page (should be the page you see immediately after login)
Login Page
Profile Page
-
In the bottom right-hand corner click on "Applications", you will be redirected to a page listing all current applications you've created for integration into Deep Lynx.
-
Click "Create New Key/Pair" and fill out the form on the subsequent page
-
On successful creation you will be redirected back to the Application list page - but you should see a banner at the top of the page. That banner includes the ID and Secret for your newly created application. WRITE THEM DOWN as this is the only time you'll see that application's secret. There is NO WAY to retrieve an application's secret after this page.
-
If running in an IDE, create a new terminal as the Application Web App is a separate app from the DeepLynx repository.
-
Navigate to Admin Web App inside the main Deep Lynx repository.
-
Rename the
.env-sample
file to.env
. -
Once you have your application ID modify the UI's
.env
file (which you created by copying.env-sample
so that the value of the variableVUE_APP_DEEP_LYNX_APP_ID
is equal to your newly created application ID. -
Modify your
.env
file Verify that your.env
file contains valid settings. To help you achieve this here are the required environment variables and a description.
VUE_APP_DEEP_LYNX_API_URL |
this is the URL for the Deep Lynx api itself, defaults to http://localhost:8090
|
VUE_APP_DEEP_LYNX_API_AUTH_METHOD |
either token or basic . If basic include the additional parameters listed below this variable in the .env-sample file. Note:* The admin UI DOES NOT FUNCTION without authentication being present on Deep Lynx. |
VUE_APP_APP_URL |
the url of the UI application, defaults to http://localhost:8080
|
VUE_APP_DEEP_LYNX_APP_ID |
the application ID you received when registering the UI with your instance of Deep Lynx |
-
Run
npm install
in the /Deep-Lynx/AdminWebApp directory -
Either build with
npm run build
and manually open the resulting file or use the built-in web server by usingnpm run serve
in the /Deep-Lynx/AdminWebApp directory -
Verify correct setup and deployment by going to
-
The next step would be establishing your ontology. https://gitlab.software.inl.gov/b650/Deep-Lynx/-/wikis/Creating-an-Ontology
Sections marked with ! are in progress.
- HTTP Authentication Methods
- Generating and Exchanging API Keys for Tokens
- Creating a DeepLynx Enabled OAuth2 App
- Authentication with DeepLynx Enabled OAuth2 App
- Creating an Ontology
- Creating Relationships and Relationship Pairs
- Ontology Versioning
- Ontology Inheritance
- Querying Tabular (Timeseries) Data
- Timeseries Quick Start
- Timeseries Data Source
- Timeseries Data Source via API
- Exporting Data
- Querying Data
- Querying Timeseries Data
- Querying Jazz Data
- Querying Data - Legacy
- Querying Tabular Data