diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 581ed797..51005365 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -75,7 +75,11 @@ jobs: echo '' echo "## Installation Wizard" echo "" - echo "### 1. Clone & Install" + echo "A complete hotel stack = **EpicNext-CMS** (this repo) + **Polaris Emulator** + **Nitro V3 client** + **Catalogus** data. Follow the steps in order." + echo "" + echo '
' + echo "" + echo "### 1. Clone & Install the CMS" echo '```bash' echo "git clone https://gitlab.epicnabbo.nl/remco/EpicNext-Cms.git" echo "cd EpicNext-Cms" @@ -84,7 +88,7 @@ jobs: echo "" echo "### 2. Database Setup" echo "" - echo "Use an existing emulator database or create a new one:" + echo "The CMS shares the emulator database. Import the Polaris/Arcturus database first, then create the CMS schema:" echo '```sql' echo "CREATE DATABASE IF NOT EXISTS epicnext_cms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" echo '```' @@ -108,7 +112,40 @@ jobs: echo "" echo "Creates all CMS-owned tables (website_*, radio_*, acl_*, admin_audit_log). Emulator tables are never touched. Check status with pnpm db:migrate:status." echo "" - echo "### 6. Build & Start" + echo "### 6. Polaris Emulator" + echo "" + echo "Clone and build the emulator (requires Java 17+ and Maven 3.9+):" + echo '```bash' + echo "git clone https://github.com/duckietm/Polaris-Emulator.git /var/www/emulator" + echo "cd /var/www/emulator/Emulator" + echo "mvn clean package" + echo '```' + echo "" + echo "Place the built Habbo-*-jar-with-dependencies.jar next to config.ini, then create an emulator.service systemd unit so it starts on boot. The bundled update-Nitrov3.sh in this repo automates cloning, building and updating the emulator and Nitro — run it any time to pull the latest commits and rebuild:" + echo '```bash' + echo "./update-Nitrov3.sh" + echo '```' + echo "" + echo "### 7. Nitro V3 & Renderer" + echo "" + echo "Clone both Nitro repos and build the client:" + echo '```bash' + echo "git clone https://github.com/duckietm/Nitro_Render_V3.git /var/www/Nitro_Render_V3" + echo "git clone https://github.com/duckietm/Nitro-V3.git /var/www/Nitro-V3" + echo "cd /var/www/Nitro_Render_V3 && yarn install && yarn link" + echo "cd /var/www/Nitro-V3 && yarn install && yarn link \"@nitrots/nitro-renderer\" && yarn build" + echo '```' + echo "" + echo "Rename the *.example files in /var/www/Nitro-V3/public/configuration to *.json and set your domain, API URL and gamedata paths (see the Full setup guide, NitroV3_And_Emulator.md)." + echo "" + echo "### 8. Catalogus (catalog & gamedata)" + echo "" + echo "Catalogus holds the daily-updated catalog/gamedata. Clone the Beta-3 branch alongside the other components:" + echo '```bash' + echo "git clone -b Beta-3 https://gitlab.epicnabbo.nl/remco/Epicnabbo-Catalogus-Updated-Daily.git /var/www/catalogus" + echo '```' + echo "" + echo "### 9. Build & Start the CMS" echo '```bash' echo "# Development (hot reload)" echo "pnpm dev" @@ -119,7 +156,7 @@ jobs: echo "" echo "Open http://localhost:3000 in your browser." echo "" - echo "### 7. First Login" + echo "### 10. First Login" echo "" echo "1. Register at /register, or log in with an existing emulator account." echo "2. Grant admin access: UPDATE users SET rank = 7 WHERE username = 'yourname';" @@ -151,6 +188,8 @@ jobs: echo "| Nitro-Render-V3 | https://github.com/duckietm/Nitro_Render_V3 | ${RENDER_REF:-?} |" echo "| Polaris Emulator | https://github.com/duckietm/Polaris-Emulator | ${EMU_REF:-?} |" echo "" + echo '' + echo "" echo "---" echo "*Automated release from Gitea Actions*" } > /tmp/release-body.md