Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new NPM version #207

Open
ali-master opened this issue Dec 15, 2024 · 10 comments
Open

Release new NPM version #207

ali-master opened this issue Dec 15, 2024 · 10 comments

Comments

@ali-master
Copy link

Hi there,

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

@invisal
Copy link
Collaborator

invisal commented Dec 15, 2024

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

@ali-master
Copy link
Author

ali-master commented Dec 15, 2024

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

@invisal
Copy link
Collaborator

invisal commented Dec 15, 2024

The ERD does not show all the relation?

@ali-master
Copy link
Author

The ERD does not show all the relation?

I need to navigate between relations data not schema

@invisal
Copy link
Collaborator

invisal commented Dec 16, 2024

Are you referring to this?

image

@invisal
Copy link
Collaborator

invisal commented Dec 16, 2024

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

@mon-jai
Copy link

mon-jai commented Jan 7, 2025

@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

@invisal
Copy link
Collaborator

invisal commented Jan 8, 2025

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.

@mon-jai
Copy link

mon-jai commented Jan 12, 2025

@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.

@invisal
Copy link
Collaborator

invisal commented Jan 13, 2025

@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 outerbase/studio-cli#2

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants