Archived
3
0
Fork 1

docs: update themepark/setup

This commit is contained in:
Stijn Bannink 2022-11-11 18:47:15 +00:00 committed by Stijn Bannink
parent a6befd70e4
commit 8a3df13fb1

View file

@ -2,7 +2,7 @@
title: Setup
description: Setup of the ThemePark package.
published: true
date: 2022-08-28T19:19:02.137Z
date: 2022-11-11T18:47:13.321Z
tags: themepark
editor: markdown
dateCreated: 2022-08-28T14:58:02.841Z
@ -29,4 +29,22 @@ dateCreated: 2022-08-28T14:58:02.841Z
2. To proceed, choose the type you want to install this panel on:
- [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)
{.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.