docs: update details to readme

This commit is contained in:
Niklas 2023-10-25 10:49:21 +02:00 committed by GitHub
parent 5382349b60
commit 96ba5b5d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ The default configuration can run on localhost.
## Requirements
- Install docker desktop (and for windows, enable WSL support) [from here](https://www.docker.com/get-started/).
- Node.js 15.0 or higher (For the habbo-downloader)
- Node.js LTS or higher (For the habbo-downloader)
- Clone this repository
## Build
@ -61,28 +61,30 @@ https://git.krews.org/morningstar/Arcturus-Community/-/archive/ms4/dev/Arcturus-
- Go to **File** --> **Run SQL file...** and open **4_0_0_permissions.sql**
If you set-up a clean database you also wan't to create new permission groups. This is the new permission structure by Arcturus.
- Go to **File** --> **Run SQL file...** and open **perms_groups.sql** Located at: ./arcturus
5. Update emulator settings with HeidiSQL
> This will Disable console mode for Arcturus because we are using docker.
- Select `Query` then copy paste the follwing queries:
```sql
-- requirements for the camera mod
UPDATE emulator_settings SET `value`='http://127.0.0.1:8080/usercontent/camera/' WHERE `key`='camera.url';
UPDATE emulator_settings SET `value`='/app/assets/usercontent/camera/' WHERE `key`='imager.location.output.camera';
UPDATE emulator_settings SET `value`='/app/assets/usercontent/camera/thumbnail/' WHERE `key`='imager.location.output.thumbnail';
UPDATE emulator_settings SET `value`='/app/assets/usercontent/badgeparts/generated/' WHERE `key`='imager.location.output.badges';
UPDATE emulator_settings SET `value`='/app/assets/swf/c_images/Badgeparts' WHERE `key`='imager.location.badgeparts';
-- because we have no image.php proxy which is set by default to proxy youtube images we do a microservice aproach by proxy data through a go service
UPDATE emulator_settings SET `value`='http://127.0.0.1:8080/api/imageproxy/0x0/http://img.youtube.com/vi/%video%/default.jpg' WHERE `key`='imager.url.youtube';
-- This will Disable console mode for Arcturus because we are using docker.
UPDATE emulator_settings SET `value`='0' WHERE `key`='console.mode';
-- badges are dynamically generated by Nitro. This setting is only useful if a) you have group_badge.nitro and swf/c_images/Badgeparts/ in sync b) you wan't to hide the the error message
UPDATE emulator_settings SET `value`='/app/assets/usercontent/badgeparts/generated/' WHERE `key`='imager.location.output.badges';
UPDATE emulator_settings SET `value`='/app/assets/swf/c_images/Badgeparts' WHERE `key`='imager.location.badgeparts';
```
- Press `F9` on your keyboard to run the queries
@ -168,6 +170,7 @@ python SQLGenerator.py
```
* run SQL file
* maybe run other `./assets/translation/*.sql` files which are fixes for Arcturus catalog like to display Song names/preview, fixing crackables or known wrong item bases.
```bash
docker compose restart arcturus