mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-03-03 09:16:50 +00:00
Document sql, python, and password
This commit is contained in:
@@ -18,6 +18,7 @@ This guide describes how to set up your local development environment for contri
|
|||||||
- Go 1.25
|
- Go 1.25
|
||||||
- Git
|
- Git
|
||||||
- Docker & Docker Compose
|
- Docker & Docker Compose
|
||||||
|
- Python (for NPM builds)
|
||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
For managing multiple versions of Go, you may want to use [gvm](https://github.com/moovweb/gvm).
|
For managing multiple versions of Go, you may want to use [gvm](https://github.com/moovweb/gvm).
|
||||||
@@ -212,7 +213,28 @@ The easiest way to resolve this is to run Gerbil and have it register in your de
|
|||||||
--remoteConfig=http://localhost:3001/api/v1/
|
--remoteConfig=http://localhost:3001/api/v1/
|
||||||
```
|
```
|
||||||
|
|
||||||
Or enter in a dummy exit-node manually to the database.
|
Or enter in a dummy exit-node manually to the database:
|
||||||
|
|
||||||
|
```
|
||||||
|
INSERT INTO "exitNodes" (
|
||||||
|
"name",
|
||||||
|
"address",
|
||||||
|
"endpoint",
|
||||||
|
"publicKey",
|
||||||
|
"listenPort",
|
||||||
|
"reachableAt",
|
||||||
|
"type"
|
||||||
|
)
|
||||||
|
VALUES (
|
||||||
|
'exit-node-1',
|
||||||
|
'10.0.0.1/24',
|
||||||
|
'gerbil.pangolin.net',
|
||||||
|
'abc123',
|
||||||
|
1234,
|
||||||
|
'gerbil.pangolin.net',
|
||||||
|
'gerbil'
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
## Windows Development Considerations
|
## Windows Development Considerations
|
||||||
|
|
||||||
|
|||||||
@@ -278,6 +278,14 @@ You can ask Pangolin to sign a key for a resource without starting an interactiv
|
|||||||
pangolin ssh sign vm-01.prod.example.com --key-file /path/to/public/key.pub
|
pangolin ssh sign vm-01.prod.example.com --key-file /path/to/public/key.pub
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Generating passwords for users
|
||||||
|
|
||||||
|
If you need a password to be generated for your user on the remote system (e.g. for sudo access or if you have passwords required in your sshd config), you can use:
|
||||||
|
|
||||||
|
`--generate-random-password` to have Pangolin generate a random password when users are created on the device
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
### How long are the temporary keys valid?
|
### How long are the temporary keys valid?
|
||||||
|
|||||||
Reference in New Issue
Block a user