https://github.com/slatyo/commandhub-core
CommandHub Core
https://github.com/slatyo/commandhub-core
Last synced: over 1 year ago
JSON representation
CommandHub Core
- Host: GitHub
- URL: https://github.com/slatyo/commandhub-core
- Owner: Slatyo
- Created: 2024-10-22T12:30:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T10:39:12.000Z (over 1 year ago)
- Last Synced: 2025-01-13T10:09:20.443Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Installation
### Clone the repository
```bash
git clone https://github.com/Slatyo/commandhub-core.git
```
### Generate RSA Private Key and Self-Signed Certificate
Using a 2048-bit RSA private key and a corresponding self-signed X.509 certificate generated with OpenSSL for TLS encryption.
```bash
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
```
### Build the server
```bash
cargo build
```
# Configuration
Create the `.env` file
```bash
cp .env.example .env
```