You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide is specifically designed for developers interested in contributing to the Polykey repository. It provides step-by-step instructions tailored for users on macOS, Windows, and Linux, outlining the necessary setup steps to prepare their development environment.
48
+
49
+
Please note, this guide is distinct from the Polykey installation and usage documentation. It focuses solely on the initial setup required for contributing to the Polykey project, including the installation of development tools and the configuration of development environments.
50
+
51
+
For detailed instructions on how to install and use Polykey, please refer to the official Polykey documentation.
52
+
53
+
## macOS Setup Guide
54
+
55
+
This section provides instructions for macOS users.
56
+
57
+
### Installing Homebrew
58
+
59
+
Homebrew is a package manager for macOS that simplifies the installation of software. To install Homebrew, follow the instructions on the [Homebrew website](https://brew.sh/).
60
+
61
+
### Installing Git
62
+
63
+
Git is a distributed version control system that is required for contributing to the repository. To install Git using Homebrew, open Terminal and run:
64
+
65
+
`brew install git`
66
+
67
+
### Installing GitHub CLI (gh)
68
+
69
+
The GitHub CLI is a command-line tool that simplifies GitHub interactions. To install the GitHub CLI using Homebrew, open Terminal and run:
70
+
71
+
`bash brew install gh`
72
+
73
+
### Authenticating GitHub CLI
74
+
75
+
After installing the GitHub CLI, you need to authenticate it with your GitHub account. To do this, open Terminal and run:
76
+
77
+
`bash gh auth login`
78
+
79
+
Follow the prompts to complete the authentication process.
80
+
81
+
### Installing Git LFS
82
+
83
+
Git LFS is a Git extension for versioning large files. To install Git LFS using Homebrew, open Terminal and run:
84
+
85
+
`bash brew install git-lfs`
86
+
87
+
After installing Git LFS, initialize it by running:
recoveryCode "dynamic two gadget nature diet grass priority library reveal idle guess creek impact nasty impulse accuse surface walk history admit legend various joy mail"
20
+
```
21
+
22
+
## `stop`
23
+
24
+
Stops the active Polykey Client:
25
+
26
+
Usage:
27
+
28
+
```sh
29
+
polykey agent stop
30
+
```
31
+
32
+
## `unlock`
33
+
34
+
Requests a new token and starts a new session.
35
+
36
+
Usage;
37
+
38
+
```sh
39
+
polykey agent unlock
40
+
```
41
+
42
+
## `lock`
43
+
44
+
Locks the Polykey client and clears the current session token.
45
+
46
+
Usage:
47
+
48
+
```sh
49
+
polykey agent lock
50
+
```
51
+
52
+
## `lockall`
53
+
54
+
Locks all Polykey clients and clear the current session token.
0 commit comments