Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update steps for use
  • Loading branch information
MarsSwimmer committed Mar 13, 2024
1 parent 264ed09 commit 42289f4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,18 @@ This project is written in Go.

### Steps for use

1. Download repo and cd repo:
```
git clone github.com/MarsSwimmer/cache_variable.git && cd cache_variable.
```
1. Download release file `Cache.Variable-xxx-linux-x64.tar.xz` and extract it.

2. Grant executable permission and move to right dir. // Also you can compile it use: go build -o cr.
2. Grant it executable permission and move it to bin dir.
```
chmod +x cr
cp cr /usr/local/bin/
sudo cp cr /usr/local/bin/
```

3. Run a cache variable instalce. // Sometime may need run at startup.
```
cr run // it will run a instance at default port 6366, you can change it with -p xxxx.
cr run & // run at background
```


Expand Down

0 comments on commit 42289f4

Please sign in to comment.