Skip to content

Commit 18251c1

Browse files
authored
Merge pull request #37 from edman/contributing
Add local development setup instructions to CONTRIBUTING.md
2 parents 09f0d02 + 2926c2c commit 18251c1

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,27 @@ Guidelines](https://opensource.google/conduct/).
3030
All submissions, including submissions by project members, require review. We
3131
use [GitHub pull requests](https://docs.github.com/articles/about-pull-requests)
3232
for this purpose.
33+
34+
## Local Development Setup
35+
36+
To build and sign the app locally, you will need to generate a private key.
37+
38+
1. Install dependencies:
39+
```bash
40+
pnpm install
41+
```
42+
2. Generate encrypted signing key (remember the passphrase):
43+
```bash
44+
mkdir -p certs
45+
openssl genpkey -algorithm Ed25519 -out certs/temp.pem
46+
openssl pkcs8 -in certs/temp.pem -topk8 -out certs/encrypted_key.pem
47+
rm certs/temp.pem
48+
```
49+
3. Set passphrase in `.env`:
50+
```env
51+
KEY_PASSPHRASE=your_passphrase
52+
```
53+
4. Build:
54+
```bash
55+
pnpm run build
56+
```

0 commit comments

Comments
 (0)