mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-22 14:25:42 +01:00
43 lines
566 B
Markdown
43 lines
566 B
Markdown
|
|
# cdk-mintd
|
|
|
|
## Building from source
|
|
|
|
```sh
|
|
nix develop
|
|
```
|
|
|
|
#### Build
|
|
|
|
```sh
|
|
cargo b --bin cdk-mintd -r
|
|
```
|
|
|
|
## Configuration
|
|
|
|
### Copy example config to cdk-mintd working directory.
|
|
|
|
```sh
|
|
cp ./example.config.toml ~/.cdk-mintd/config.toml
|
|
```
|
|
|
|
### Edit config file
|
|
|
|
```sh
|
|
vi ~/.cdk-mintd/config.toml
|
|
```
|
|
|
|
## Running with Docker
|
|
|
|
### Build the Docker image
|
|
|
|
```sh
|
|
docker build -t cdk-mintd .
|
|
```
|
|
|
|
### Run the Docker container with the configuration file mapped
|
|
|
|
```sh
|
|
docker run -v ~/.cdk-mintd/config.toml:/root/.cdk-mintd/config.toml cdk-mintd
|
|
```
|