Skip to content

Commit 80f8fe8

Browse files
committed
Clean up old code
1 parent 9b75114 commit 80f8fe8

File tree

322 files changed

+205
-50094
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+205
-50094
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ The [postgres-ai/database-lab](https://gitlab.com/postgres-ai/database-lab) repo
140140
- [Database Lab CLI](https://gitlab.com/postgres-ai/database-lab/-/tree/master/engine/cmd/cli)
141141
- [Database Lab UI](https://gitlab.com/postgres-ai/database-lab/-/tree/master/ui)
142142
- [Community Edition](https://gitlab.com/postgres-ai/database-lab/-/tree/master/ui/packages/ce)
143-
- [Platform](https://gitlab.com/postgres-ai/database-lab/-/tree/master/ui/packages/platform)
144143
- [Shared components](https://gitlab.com/postgres-ai/database-lab/-/tree/master/ui/packages/shared)
145144

146145
Components have a separate version, denoted by either:

ui/.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
ui/node_modules/
88
ui/packages/ce/node_modules/
99
ui/packages/shared/node_modules/
10-
ui/packages/platform/node_modules/

ui/.gitlab-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
include:
22
- local: 'ui/packages/ce/.gitlab-ci.yml'
3-
- local: 'ui/packages/platform/.gitlab-ci.yml'
43

54
.ui_checks: &ui_checks
65
rules:
@@ -31,7 +30,6 @@ check-code-style:
3130
script:
3231
- pnpm --dir ui/ i
3332
- pnpm --dir ui/ --filter @postgres.ai/ce lint
34-
- pnpm --dir ui/ --filter @postgres.ai/platform lint
3533
interruptible: true
3634
cache:
3735
<<: *cache

ui/README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Database Lab Engine UI and DBLab Platform UI
1+
# Database Lab Engine UI
22

33
## DBLab - thin database clones and database branching for faster development
44

@@ -15,7 +15,6 @@ As an example, cloning a 10 TiB PostgreSQL database can take less than 2 seconds
1515

1616
### List packages:
1717

18-
- `@postgres.ai/platform` - platform version of UI
1918
- `@postgres.ai/ce` - community edition version of UI
2019
- `@postgres.ai/shared` - common modules
2120

@@ -29,32 +28,15 @@ At the root:
2928
#### Examples
3029
- `npm ci -ws` - install deps of all packages
3130
- `npm run build -ws` - build all packages
32-
- `npm run start -w @postgres.ai/platform` - run platform UI locally in dev mode
3331
- `npm run start -w @postgres.ai/ce` - run community edition UI locally in dev mode
3432

3533
_Important note: don't use commands for `@postgres.ai/shared` - it's dependent package, which can't be running or built_
3634

37-
### How to start Platform UI with a predefined JWT token
38-
- `cd ui/packages/platform`
39-
- `cp .env_example_dev .env`
40-
- edit `.env` setting:
41-
- `REACT_APP_API_URL_PREFIX` to point to dev API server (e.g., staging API server: `https://v2.postgres.ai/api/general`).
42-
- `REACT_APP_TOKEN_DEBUG` to have your JWT ready work with the same server. Note that it has an expiration date so it needs to be periodically refreshed.
43-
- `pnpm install` - to install packages if they are not found
44-
- `pnpm run start` - start Platform for local debugging/development
45-
4635
### How to start "ce"
4736
- `cd ui`
4837
- `npm ci -ws` - install dependencies, must be done once to install dependencies for all packages
4938
- `npm run start -w @postgres.ai/ce` - start dev server
5039

51-
### How to build "platform"
52-
53-
- `cd ui`
54-
- `npm ci -ws` - install dependencies, must be done once to install dependencies for all packages
55-
- `source packages/platform/deploy/configs/production.sh` - set up environment variables, should be run for each new terminal session
56-
- `npm run build -w @postgres.ai/platform`
57-
5840
### How to build "ce"
5941

6042
- `cd ui`
@@ -91,5 +73,4 @@ Ways to resolve (ordered by preference):
9173
## Moving to Typescript
9274
- `@postgres.ai/shared` is written on Typescript
9375
- `@postgres.ai/ce` is written on Typescript
94-
- `@postgres.ai/platform` is written on JavaScript and patially on Typescript. The target - is moving `@postgres.ai/platform` to Typescript fully. It should takes approximately 120-160 hours.
9576
- There are potential problems with typing - old versions of packages may don't have their typings. Recommended to update them or replace. If it's impossible you can write your own typing in file named like `<package-name>.d.ts` inside `src` directory of the selected package.

ui/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
},
88
"scripts": {
99
"preinstall": "npx only-allow pnpm",
10-
"start:platform": "source ./packages/platform/deploy/configs/production.sh && npm run start -w @postgres.ai/platform",
1110
"start:ce": "npm run start -w @postgres.ai/ce"
1211
},
1312
"pnpm": {

ui/packages/ce/.dockerignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
**/build/**
77
/ui/node_modules/
88
/ui/packages/ce/node_modules/
9-
/ui/packages/shared/node_modules/
10-
/ui/packages/platform/node_modules/
9+
/ui/packages/shared/node_modules/

ui/packages/platform/.dockerignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

ui/packages/platform/.env_example_dev

Lines changed: 0 additions & 3 deletions
This file was deleted.

ui/packages/platform/.eslintrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

ui/packages/platform/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy