Skip to content

Commit

Permalink
ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo authored Jan 14, 2025
1 parent 357c4e5 commit b57ce4e
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you want to run `doduapi` for yourself, just follow the following commands. T

I can't help you for Windows since I don't have it. But there are prebuilt binaries in the [Releases](https://github.com/dofusdude/doduapi/releases) for it. Change the `Linux_x86_64` string accordingly in the curl command below.

```bash
```shell
export MEILI_MASTER_KEY=$(echo $RANDOM | md5sum | head -c 20; echo;)
echo "MEILI_MASTER_KEY=$MEILI_MASTER_KEY" > .env

Expand All @@ -50,24 +50,23 @@ You can get the search engine process back with `fg` later.

Follow the Quickstart for Meilisearch.

The Almanax data is saved within a file database. `doduapi` can initialize the database structure itself with the following command.
Now get the `doduapi` source code.
```shell
go run . migrate up
git clone https://github.com/dofusdude/doduapi
cd doduapi
```

You can specify the persistent directory with `--persistent-dir <dir>`. It uses the current working directory per default.

Now build `doduapi`. You need to have [Go](https://go.dev/doc/install) >= 1.18 installed.
You need to have [Go](https://go.dev/doc/install) >= 1.18 installed to run it.

The Almanax data is saved within a file database. `doduapi` can initialize the database structure itself with the following command.
```shell
git clone git@github.com:dofusdude/doduapi.git
cd doduapi
go run .
go run . migrate up
```

If you want more info about the specific tasks, you can set the `LOG_LEVEL` env to one of `debug`, `info`, `warn` (default), `error` or `fatal`. The more left you go in that list, the more info you get.
You can specify the persistent directory with `--persistent-dir <dir>`. It uses the current working directory per default.

```bash
Now we can run doduapi from source. If you want more info about the specific tasks, you can set the `LOG_LEVEL` env to one of `debug`, `info`, `warn` (default), `error` or `fatal`. The more left you go in that list, the more info you get. I will also add `--headless` so I don't miss anything.
```shell
LOG_LEVEL=debug go run . --headless
```

Expand Down

0 comments on commit b57ce4e

Please sign in to comment.