mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-14 01:40:32 +07:00
Revert "doc: add usage contents back; temporarily replicated to ./docs/README"
This reverts commit 3e40e2c1cb
.
This commit is contained in:
47
README.md
47
README.md
@ -79,53 +79,6 @@ EOF
|
|||||||
sudo sysctl --system
|
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
|
## Getting Started
|
||||||
|
|
||||||
Please refer to [Quick Start Guide](./docs/getting-started/README.md) to start using `Dae` right away!
|
Please refer to [Quick Start Guide](./docs/getting-started/README.md) to start using `Dae` right away!
|
||||||
|
Reference in New Issue
Block a user