Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download scripts/deployment/set-pg-password.sh from CommunityOne/open-navigator: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/scripts/deployment/set-pg-password.sh
- Command line
-
hf download hf://spaces/CommunityOne/open-navigator/scripts/deployment/set-pg-password.sh
-
curl -L -o set-pg-password.sh https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/scripts/deployment/set-pg-password.sh
459 Bytes
| # Set PostgreSQL password once for all commands | |
| export PGPASSWORD=password | |
| echo " | |
| ✅ PostgreSQL credentials configured for passwordless access | |
| You can now run psql commands without password prompts: | |
| psql -h localhost -p 5433 -U postgres -d open_navigator | |
| Or use commands like: | |
| psql -h localhost -p 5433 -U postgres -d open_navigator -c 'SELECT version();' | |
| The password is set via PGPASSWORD environment variable and ~/.pgpass file. | |
| " | |