studio icon indicating copy to clipboard operation
studio copied to clipboard

Release new NPM version

Open ali-master opened this issue 1 year ago • 10 comments

Hi there,

Is there a plan to release a new version of the @outerbase/studio NPM package?

ali-master avatar Dec 15 '24 11:12 ali-master

You mean serving @outerbase/studio via command line? What particular feature you need?

invisal avatar Dec 15 '24 12:12 invisal

Not all relations are displayed; in some cases, some are shown. I am trying to understand why, but this feature is practical.

ali-master avatar Dec 15 '24 18:12 ali-master

The ERD does not show all the relation?

invisal avatar Dec 15 '24 19:12 invisal

The ERD does not show all the relation?

I need to navigate between relations data not schema

ali-master avatar Dec 16 '24 02:12 ali-master

Are you referring to this?

image

invisal avatar Dec 16 '24 03:12 invisal

One more question. Are you primary used from cli or more from desktop app?

invisal avatar Dec 16 '24 04:12 invisal

@invisal It would be better if we could install Outerbase Studio with NPM and Docker Compose.

For instance, pgAdmin could be consumed as a docker image, making it easy to integrate into prototype projects as an admin dashboard.

services:
  postgres:
    image: postgres:16
    restart: unless-stopped
    # Uncomment the following line to enable query logging
    # Then restart the container.
    command: ["postgres", "-c", "log_statement=all"]
    env_file: .env
    ports:
      - "5432:5432"
    volumes:
      - postgres-data:/var/lib/postgresql/data/
    healthcheck:
      # specifying user and database is needed to avoid `FATAL:  role "root" does not exist`
      # spam in the logs
      test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"]
      interval: 5s
      timeout: 2s
      retries: 20

  pgadmin:
    image: dpage/pgadmin4:8
    restart: unless-stopped
    env_file: .env
    ports:
      - "5050:80"
    volumes:
      - pgadmin-data:/var/lib/pgadmin
      # https://stackoverflow.com/a/63318968/
      - ./servers.json:/pgadmin4/servers.json

mon-jai avatar Jan 07 '25 20:01 mon-jai

Thanks. I am planning to update the NPM package this week to support PostgreSQL which can be easily put in docker as well.

Let me try to make this use-case happens.

invisal avatar Jan 08 '25 02:01 invisal

@invisal Thanks. Maybe consider documenting how to run Outerbase Studio as well.

I noticed in Hacker News that configuration can be done via outerbase.json, but I couldn't find any information about this within the repository or the existing documentation.

mon-jai avatar Jan 12 '25 18:01 mon-jai

@mon-jai

We recently open the source code for our CLI as well. https://github.com/outerbase/studio-cli and there is instruction on how to run it

The support for PostgreSQL is on the way soon https://github.com/outerbase/studio-cli/pull/2

Sorry, I promised to have it done previous week, but thing happens and got it slightly delay.

invisal avatar Jan 13 '25 02:01 invisal