2023-04-03 01:24:12 +00:00
|
|
|
# forge
|
|
|
|
A simple remote build system. Consists of a client (`forge-client`) and server (`forge-server`).
|
|
|
|
|
|
|
|
## Server
|
|
|
|
On first run, `forge-server` will create a configuration file for you in the default location (e.g. `~/.config/forge/config.toml`).
|
|
|
|
Use this to configure options, such as the IP & port to bind on, and whether to use authentication (along with a password).
|
|
|
|
|
|
|
|
Authentication will use *Argon2id* to hash and verify passwords.
|
2023-04-03 05:05:08 +00:00
|
|
|
Right now it only supports building `cargo` projects.
|
2023-04-03 01:24:12 +00:00
|
|
|
|
2023-04-03 05:05:08 +00:00
|
|
|
### Build
|
|
|
|
```bash
|
|
|
|
cargo run -p forge-server
|
|
|
|
$EDITOR ~/.config/forge/config.toml
|
|
|
|
cargo run -p forge-server
|
|
|
|
```
|
2023-04-03 01:24:12 +00:00
|
|
|
|
|
|
|
## Client
|
2023-04-03 03:17:57 +00:00
|
|
|
Sends data to the server specified via commandline options.
|
2023-04-03 05:05:08 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
cargo run -p forge
|
|
|
|
```
|