docs(README): remove bugged fetchdata script

This commit is contained in:
Axel Cocat 2024-07-08 20:41:43 +02:00 committed by GitHub
parent 13ae2e9b2d
commit 2df1fad904
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,14 +118,7 @@ I also noticed that such a tool was frequently requested in the AzerothCore Disc
``` ```
3. Configure the application: copy `config.default.json` to `config.json` or `.env.example` to `.env` and edit the resulting file. 3. Configure the application: copy `config.default.json` to `config.json` or `.env.example` to `.env` and edit the resulting file.
See the [Configuration Reference](#configuration-reference) below for a description of all values. See the [Configuration Reference](#configuration-reference) below for a description of all values.
4. Download the model viewer's data: 4. Download the model viewer's data from the [Releases](https://github.com/r-o-b-o-t-o/azerothcore-armory/releases) page and extract it to the `data/` directory.
* Download from script:
```sh
npm run build
npm run fetchdata
```
**OR**
* Download the latest archive (`data.zip`) from the [Releases](https://github.com/r-o-b-o-t-o/azerothcore-armory/releases) page and extract it to the `data/` directory.
### Configuration Reference ### Configuration Reference
@ -185,7 +178,6 @@ Open a web browser and navigate to http://localhost:48733
Other useful npm scripts: Other useful npm scripts:
* `npm run clean`: cleans the build directory * `npm run clean`: cleans the build directory
* `npm run watch`: watches for changes and rebuilds automatically, useful for development * `npm run watch`: watches for changes and rebuilds automatically, useful for development
* `npm run fetchdata`: downloads the data needed by the 3D model viewer
* `npm run cleardata`: clears the data downloaded for the 3D model viewer * `npm run cleardata`: clears the data downloaded for the 3D model viewer
### With Docker ### With Docker