Dashboard for TerminusDB. Monorepo for the TerminusDB dashboard components. Please see the individual packages for more
details. The main dashboard package can be found in packages/tdb-dashboard
.
Clone the repository
git clone https://github.com/terminusdb/terminusdb-dashboard.git
Install all the dependencies
cd terminusdb-dashboard
npm install
Build the dashboard
Rename ENV.local to .env
cd terminusdb-dashboard/packages/tdb-dashboard
cp ENV.local .env
npm run build
You can find the built version into terminusdb-dashboard/packages/tdb-dashboard/dist
Locally Developing the dashboard
Running npm run start
instead of build
starts a server and watches for changes. Because of the way this is configured, you will need to go to /dashboard
after connecting in browser
npm run start
There are some differences depending on how you are developing it, if you are just running the dashboard repo locally:
@terminusdb/terminusdb-client
alias in the webpack configBASE_URL
be empty (also generally useful since this is where the webpack server opens the new browser window), this will mean you don't have to go to /dashboard
as aboveThere is some additional configuration needed if you are wanting to run with Auth0 Login, essentially you just need a proxy and to setup the right auth0 config. This will allow you to login but the token generated will not be valid so you will need to replace it manually with a valid one.
To release a new version, simply follow these steps:
npm version NEW_VERSION_HERE --ws
, this will increment the version on all the packages inside
their package.json and package-lock.json files.git tag vYOUR_VERSION_NUMBER
(for example: git tag v5.0.0
) in you local machine
and push the tag in git git push origin vYOUR_VERSION_NUMBER