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

Add startup script to start the postgres instance on a selected port #1901

Merged
merged 5 commits into from
Jan 13, 2025

Conversation

ororsatti
Copy link
Collaborator

Just easier to manage multiple postgres instances this way.

This script will:

  1. set the port number you passed to it in the passport server .env
  2. start the postgres instance with the selected port.
  3. verify that you didnt try to use a already taken post, so you dont have to guess.

Works only on unix based machines tho (and, i think, WSL. didnt check tho)

@rrrliu
Copy link
Collaborator

rrrliu commented Oct 31, 2024

@ororsatti what's the plan for this one? this would be cool to add, but there's a lot of merge conflicts and lint errors. we can close if that's too much effort.

@ororsatti
Copy link
Collaborator Author

@ororsatti what's the plan for this one? this would be cool to add, but there's a lot of merge conflicts and lint errors. we can close if that's too much effort.

@rrrliu fixed

@rrrliu rrrliu requested a review from ichub November 1, 2024 09:21
@rrrliu rrrliu merged commit 46a942c into main Jan 13, 2025
1 check passed
@rrrliu rrrliu deleted the start-db-on-port branch January 13, 2025 22:26
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.

2 participants