docs: update themepark/setup
This commit is contained in:
parent
a6befd70e4
commit
8a3df13fb1
1 changed files with 20 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
title: Setup
|
title: Setup
|
||||||
description: Setup of the ThemePark package.
|
description: Setup of the ThemePark package.
|
||||||
published: true
|
published: true
|
||||||
date: 2022-08-28T19:19:02.137Z
|
date: 2022-11-11T18:47:13.321Z
|
||||||
tags: themepark
|
tags: themepark
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2022-08-28T14:58:02.841Z
|
dateCreated: 2022-08-28T14:58:02.841Z
|
||||||
|
@ -30,3 +30,21 @@ dateCreated: 2022-08-28T14:58:02.841Z
|
||||||
- [Shared webhosting *If you own webhosting (you share with others)*](/en/themepark/setup/shared)
|
- [Shared webhosting *If you own webhosting (you share with others)*](/en/themepark/setup/shared)
|
||||||
- [VPS running Linux *If you own an VPS running Linux*](/en/themepark/setup/linux)
|
- [VPS running Linux *If you own an VPS running Linux*](/en/themepark/setup/linux)
|
||||||
{.links-list}
|
{.links-list}
|
||||||
|
|
||||||
|
# ThemeParkPanelPlus
|
||||||
|
|
||||||
|
**Make sure to follow the ThemeParkPanel instructions first!**
|
||||||
|
|
||||||
|
1. Open the `settings.yml` from ThemeParkConnector. Then change the `socket.id` to something unique for your server. Make sure to save the ID somewhere, because you need it for Step 5.
|
||||||
|
2. Change the `socket.panel` URL to your own panel domain. For example `https://tppanel.mythemeparkserver.com/control/%ID%/%TOKEN%`. *(do **NOT** remove the `%%` variables)*
|
||||||
|
3. Extract the files from the ThemeParkPanelPlus ZIP into the root folder of your ThemeParkPanel installation.
|
||||||
|
4. Open the `routes/web.php` and append the following at the end:
|
||||||
|
```php
|
||||||
|
//ThemeParkPanelPlus
|
||||||
|
Route::get('/control/{attraction_id}/{pin}', 'ControlController@index');
|
||||||
|
```
|
||||||
|
5. Open the `.env` file and append the following at the end:
|
||||||
|
```
|
||||||
|
CONTROL_ID=CHANGEME
|
||||||
|
```
|
||||||
|
Make sure to change `CHANGEME` into the ID you configured in Step 1.
|
Reference in a new issue