-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge master + remove ssh tunneling instructions from readme
- Loading branch information
1 parent
162a24e
commit 71626e8
Showing
1 changed file
with
0 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,8 +232,3 @@ If the license is unknown to rubygems, you can directly approve a gem. | |
docker-compose run web license_finder approvals add some_awesome_new_gem | ||
``` | ||
Only approve a license or gem if you're sure there are no compatibility issues. License_finder stores its information in `doc/dependency_decisions.yml` | ||
|
||
## Connect to a production database using SSH tunneling | ||
1. Run `ssh -L 5433:cl2-back-production-benelux.kindofsecret.eu-central-1.rds.amazonaws.com:5432 [email protected]` (replace occurrences of "kindofsecret" by correct values, the last value is the IP address of the third benelux server). | ||
2. Open another tab (there might be an alternative way using -f in the previous command). | ||
3. Connect as usual but replacing the port and host. For example: `psql -h localhost -p 5433 -U kindofsecret -d cl2_back_production`. |