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

Postgres start/stop demo #45

Merged
merged 14 commits into from
Oct 30, 2024
Merged

Conversation

wangpatrick57
Copy link
Member

@wangpatrick57 wangpatrick57 commented Oct 30, 2024

Summary: Basic demo letting you start and stop Postgres.

Demo:
(Yes, this is a demo of the demo). The demo uses pgrep postgres to show that no Postgres instance is running. Then the user is able to start/stop Postgres on the web UI. The results of that are verified using pgrep postgres.

demo_demo.mov

Details:

  • Uses streamlit for the frontend.
  • Uses the recently factored out PostgresConn in the backend.
  • Right now is only deployable locally. In the future we'll want to deploy it on a CMU-DB machine so people can play around with it.
  • It currently relies on the same workspace used in development. In the future, we may want to give the demo its own workspace. The setup process of this workspace would then require more scripting.

@wangpatrick57 wangpatrick57 marked this pull request as ready for review October 30, 2024 19:20
@wangpatrick57 wangpatrick57 marked this pull request as draft October 30, 2024 19:21
@wangpatrick57 wangpatrick57 changed the title demo-hello-world (draft PR for CI) Postgres start/stop demo Oct 30, 2024
@wangpatrick57 wangpatrick57 marked this pull request as ready for review October 30, 2024 22:14
@wangpatrick57 wangpatrick57 merged commit 72e9808 into cmu-db:main Oct 30, 2024
1 check passed
@wangpatrick57 wangpatrick57 deleted the demo-hello-world branch November 6, 2024 17:19
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

Successfully merging this pull request may close these issues.

1 participant