2025-04-24 13:58:05 -05:00
|
|
|
# CPULarp Manager API
|
2025-04-20 20:45:54 -05:00
|
|
|
|
2025-04-24 13:58:05 -05:00
|
|
|
The back end for what will soon be a manager webapp for CPULarp.
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
You need to rename the sample config.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
mv config.sample.toml config.toml
|
|
|
|
```
|
|
|
|
|
|
|
|
Then, add your OAuth credentials for your Discord App.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
I'm pretty sure you can just run the package and it'll figure itself out.
|
|
|
|
|
|
|
|
```golang
|
|
|
|
cd src/
|
|
|
|
go run gin-cpularp.go
|
|
|
|
```
|