Revert "doc: add usage contents back; temporarily replicated to ./docs/README"

This reverts commit 3e40e2c1cb.
This commit is contained in:
mzz2017 2023-02-19 20:22:50 +08:00
parent 45684de1d7
commit e2a42bf5e7

View File

@ -79,53 +79,6 @@ EOF
sudo sysctl --system
```
## Usage
### Build
**Make Dependencies**
```shell
clang >= 10
llvm >= 10
golang >= 1.18
make
```
**Build**
```shell
git clone https://github.com/v2rayA/dae.git
cd dae
git submodule update --init
# Minimal dependency build:
make GOFLAGS="-buildvcs=false" CC=clang
# Or normal build:
# make
```
### Run
**Runtime Dependencies**
Download [geoip.dat](https://github.com/v2ray/geoip/releases/latest) and [geosite.dat](https://github.com/v2fly/domain-list-community/releases/latest) to `/usr/local/share/dae/`.
```
mkdir -p /usr/local/share/dae/
pushd /usr/local/share/dae/
curl -L -o geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
curl -L -o geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat
popd
```
**Run**
```shell
./dae run -c example.dae
```
See [example.dae](https://github.com/v2rayA/dae/blob/main/example.dae).
## Getting Started
Please refer to [Quick Start Guide](./docs/getting-started/README.md) to start using `Dae` right away!