add nix way
This commit is contained in:
@@ -3,3 +3,45 @@
|
||||
[](https://技術者倫理.com)
|
||||
|
||||
A client for SBI-compatible servers. This project is not intended for use with a real SBI server.
|
||||
|
||||
## cSBI SDK
|
||||
|
||||
## cSBIe
|
||||
|
||||
cSBIe is a web ui and server for managing SBI-compatible API.
|
||||
|
||||
### Install
|
||||
|
||||
Before running, setup .env, refering `.env.example`.
|
||||
|
||||
#### With docker
|
||||
|
||||
docker-compose.yml:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
csbie:
|
||||
image: git.yutakobayashi.com/nakasyou/csbi:latest
|
||||
ports:
|
||||
- '18787:8787'
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
docker run --rm -it --name csbie \
|
||||
-p 18787:8787 \
|
||||
--env-file .env \
|
||||
-v "$PWD/data:/app/data" \
|
||||
git.yutakobayashi.com/nakasyou/csbi:latest
|
||||
```
|
||||
|
||||
#### With Nix
|
||||
|
||||
```bash
|
||||
nix run 'git+https://git.yutakobayashi.com/nakasyou/csbi.git#csbie'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user