Skip to content

Commit 6dc2807

Browse files
Merge pull request #67 from terminusdb/readme_additions
README: add publish instructions and clarify some things
2 parents a056b49 + 4f1d9ea commit 6dc2807

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
# terminusdb-dashboard
2-
Dashboard for TerminusDB
3-
How to use the terminusdb dashboard source code with your local terminusdb instance.
2+
Dashboard for TerminusDB. Monorepo for the TerminusDB dashboard components. Please see the individual packages for more
3+
details. The main dashboard package can be found in `packages/tdb-dashboard`.
4+
5+
## Setting up terminusdb-dashboard
46

57
**Clone the repository**
68
```sh
79
git clone https://github.com/terminusdb/terminusdb-dashboard.git
810
```
911

10-
**Install all the dependency**
12+
**Install all the dependencies**
1113
```sh
1214
cd terminusdb-dashboard
1315
npm install
1416
```
1517

1618
**Build the dashboard**
19+
1720
Rename ENV.local to .env
1821
```sh
1922
cd terminusdb-dashboard/packages/tdb-dashboard
@@ -23,7 +26,19 @@ npm run build
2326
```
2427
You can find the builded version into terminusdb-dashboard/packages/tdb-dashboard/dist
2528

29+
## Publishing
2630

31+
To release a new version, simply follow these steps:
32+
33+
1. Create a new branch for the release
34+
2. Run `npm version NEW_VERSION_HERE --ws`, this will increment the version on all the packages inside
35+
their package.json and package-lock.json files.
36+
3. Commit these new package.json files
37+
4. Make a PR, make sure the tests pass and let someone else code-review and approve
38+
5. Merge the PR to main and wait for the tests to pass
39+
6. Tag the new release with `git tag vYOUR_VERSION_NUMBER` (for example: `git tag v5.0.0`)
40+
7. The packages are now on npm
41+
How to use the terminusdb dashboard source code with your local terminusdb instance.
2742

2843

2944

0 commit comments

Comments
 (0)