diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 600df28..c814410 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,8 +1,8 @@ # These are supported funding model platforms -github: # [etherealengine] -patreon: # Replace with a single Patreon username -open_collective: etherealengine +github: ir-engine +patreon: irengine +open_collective: ir-engine ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 296464b..399f7df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,7 +70,7 @@ jobs: npm run build npm exec electron-builder -- --publish always --linux # npm exec electron-builder -- --publish always --linux deb AppImage - # npm exec electron-builder -- --publish always --linux rpm -c.productName=EtherealEngineControlCenter + # npm exec electron-builder -- --publish always --linux rpm -c.productName=InfiniteRealityEngineLauncher # publish_mac: # runs-on: macos-latest diff --git a/.github/workflows/test-microk8s-ubuntu.yml b/.github/workflows/test-microk8s-ubuntu.yml index 2027f85..2c72aca 100644 --- a/.github/workflows/test-microk8s-ubuntu.yml +++ b/.github/workflows/test-microk8s-ubuntu.yml @@ -30,15 +30,15 @@ jobs: ASSETS_PATH="$GITHUB_WORKSPACE/assets" CONFIGS_PATH="/home/runner/opt/config" FORCE_DB_REFRESH=true - ENGINE_PATH="/home/runner/opt/etherealengine" + ENGINE_PATH="/home/runner/opt/ir-engine" CLUSTER_ID=test - OPS_PATH="/home/runner/opt/ethereal-engine-ops" + OPS_PATH="/home/runner/opt/ir-engine-ops" PASSWORD= # Github actions run in password-less sudo mode. ENABLE_RIPPLE_STACK=false mkdir -p "$CONFIGS_PATH" - curl https://raw.githubusercontent.com/EtherealEngine/ethereal-engine-ops/master/configs/local.microk8s.template.values.yaml -o "$CONFIGS_PATH/test-engine.values.yaml" - sed -i "s,^\([[:space:]]*hostUploadFolder:\).*,\1 '/home/runner/opt/etherealengine/packages/server/upload'," "$CONFIGS_PATH/test-engine.values.yaml" + curl https://raw.githubusercontent.com/ir-engine/ir-engine-ops/master/configs/local.microk8s.template.values.yaml -o "$CONFIGS_PATH/test-engine.values.yaml" + sed -i "s,^\([[:space:]]*hostUploadFolder:\).*,\1 '/home/runner/opt/ir-engine/packages/server/upload'," "$CONFIGS_PATH/test-engine.values.yaml" bash "$ASSETS_PATH/scripts/configure-microk8s-linux.sh" \ -a "$ASSETS_PATH" \ diff --git a/.prettierrc.json b/.prettierrc.json index 52da598..eed549b 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -12,7 +12,7 @@ "arrowParens": "always", "proseWrap": "never", "endOfLine": "lf", - "importOrder": ["", "^@etherealengine/(.*)$", "^@mui/(.*)$", "^[./]"], + "importOrder": ["", "^@ir-engine/(.*)$", "^@mui/(.*)$", "^[./]"], "importOrderSeparation": true, "importOrderSortSpecifiers": true, "importOrderCaseInsensitive": true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4a57301..21936c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,7 +12,7 @@ We currently have strict formatting rules for all `.ts` and `.tsx` files. Please Develop on your own branch and submit PRs for review. -If you are part of the Ethereal Engine development team, please create branches on ths repository, otherwise create a fork and branches to PR. +If you are part of the iR Engine development team, please create branches on ths repository, otherwise create a fork and branches to PR. Ensure any extraneous local project files, installs or build dependencies are removed before making a PR. You may make a separate PR for adding to the .gitignore. diff --git a/README.md b/README.md index 15f8b65..0bb27ed 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,15 @@ Want to build the spatial web on your website? Looking for a place to start? Run **The Infinite Reality Engine Launcher is a self-contained Metaverse world in a box.** Take what you need or launch the full stack. iR Engine Launcher is a desktop app to manage a metaverse cluster. -We know it's been complicated to build with #EtherealEngine and we've made this tool to give the community easy access to the engine for development and creation. The full Kubernetes cluster can run on Windows and any Debian Linux distro with at least 16 GB of ram. +We know it's been complicated to build with #iREngine and we've made this tool to give the community easy access to the engine for development and creation. The full Kubernetes cluster can run on Windows and any Debian Linux distro with at least 16 GB of ram. We would love to see your creations and invite you all to come build with us. We've got a long backlog and need your help to build the Open Metaverse. Come build with us! -### [DOWNLOAD HERE](https://github.com/etherealengine/ir-engine-launcher/releases) +### [DOWNLOAD HERE](https://github.com/ir-engine/ir-engine-launcher/releases) https://user-images.githubusercontent.com/10975502/168554732-86a202b6-053c-4588-8153-cd2c9c2771d5.mp4 -### [DOWNLOAD HERE](https://github.com/etherealengine/ir-engine-launcher/releases) +### [DOWNLOAD HERE](https://github.com/ir-engine/ir-engine-launcher/releases) ## Getting Started @@ -23,7 +23,7 @@ Additionally, there are iR Engine Launcher video tutorials which you can find [h ## Install Released -[Download latest version of the iR Engine Launcher app from here](https://github.com/etherealengine/etherealengine-control-center/releases). +[Download latest version of the iR Engine Launcher app from here](https://github.com/ir-engine/ir-engine-launcher/releases). 1. (Windows) Directly download the .exe file. 2. (Linux) For AppImage: Once downloaded, right click and go to **Properties**. In **Permissions** tab check 'Allow executing file as program'. @@ -109,9 +109,9 @@ If you face an issue please report it to [Issues](https://github.com/canonical/m 1. Non-UI logs found at following path: - - on Linux: `~/.config/etherealengine-control-center/logs/main.log` - - on macOS: `~/Library/Logs/etherealengine-control-center/main.log` - - on Windows: `%USERPROFILE%\AppData\Roaming\etherealengine-control-center\logs\main.log` + - on Linux: `~/.config/ir-engine-launcher/logs/main.log` + - on macOS: `~/Library/Logs/ir-engine-launcher/main.log` + - on Windows: `%USERPROFILE%\AppData\Roaming\ir-engine-launcher\logs\main.log` 2. UI logs found using download button in app as shown in below image. ![LogsDownload](https://user-images.githubusercontent.com/10975502/219317443-5cdf19fd-1e60-4907-a124-56cec72bb633.jpg) @@ -120,7 +120,7 @@ If you face an issue please report it to [Issues](https://github.com/canonical/m Clone this repository: ```bash -git clone https://github.com/etherealengine/ir-engine-launcher.git ir-engine-launcher +git clone https://github.com/ir-engine/ir-engine-launcher.git ir-engine-launcher ``` Go inside the folder: ```bash @@ -158,7 +158,7 @@ We are always hiring talented people who want to be leaders in what is to come. **Your own sandbox in the Metaverse. Take what you need, or launch the full stack. iR Engine Launcher is a desktop app for managing an iR Engine cluster.** -Electron based Ethereal Engine Server Cluster Creator app +Electron based Infinite Reality Engine Server Cluster Creator app - Ability to fully manage an on premises server. - Electron K8S Cluster Creator and Manager App @@ -168,6 +168,6 @@ Electron based Ethereal Engine Server Cluster Creator app - Multiple electron apps with same k8s control plane - Benchmark tool - minimum specs of 4 CPU cores and 16-24GB of ram. -We [Ethereal Engine](https://github.com/etherealengine) believe that the Metaverse, Web AR, VR. XR should be easy. +We [iR Engine](https://github.com/ir-engine) believe that the Metaverse, Web AR, VR. XR should be easy. -### [Sponsorship](https://opencollective.com/etherealengine) [![Open Collective](https://opencollective.com/etherealengine/tiers/badge.svg)](https://opencollective.com/etherealengine) +### [Sponsorship](https://opencollective.com/ir-engine) [![Open Collective](https://opencollective.com/ir-engine/tiers/badge.svg)](https://opencollective.com/ir-engine) diff --git a/TUTORIALS.md b/TUTORIALS.md index 4d2801f..aac3d8c 100644 --- a/TUTORIALS.md +++ b/TUTORIALS.md @@ -1,4 +1,4 @@ -# Ethereal Engine Control Center - Tutorials +# Infinite Reality Engine Launcher - Tutorials ## 1. Getting Started diff --git a/assets/scripts/check-engine-deployment.sh b/assets/scripts/check-engine-deployment.sh index 3696891..ab9bbf5 100644 --- a/assets/scripts/check-engine-deployment.sh +++ b/assets/scripts/check-engine-deployment.sh @@ -15,7 +15,7 @@ OPS_FOLDER=$6 TAG=$7 #======================= -# Verify Ethereal Engine +# Verify iR Engine #======================= cd "$ENGINE_FOLDER" || exit @@ -36,9 +36,9 @@ fi PROJECTS_PATH="$ENGINE_FOLDER/packages/projects/projects/" if [[ -d $PROJECTS_PATH ]]; then - echo "ethereal engine projects exists at $PROJECTS_PATH" + echo "ir engine projects exists at $PROJECTS_PATH" else - echo "ethereal engine projects does not exists at $PROJECTS_PATH" + echo "ir engine projects does not exists at $PROJECTS_PATH" RE_INIT=true fi @@ -48,11 +48,11 @@ export MYSQL_PORT=3304 if [[ $RE_INIT == true || $FORCE_DB_REFRESH == 'true' ]]; then if [[ $CLUSTER_TYPE == 'minikube' ]]; then - export STORAGE_S3_STATIC_RESOURCE_BUCKET=etherealengine-minikube-static-resources - export VITE_FILE_SERVER=https://localhost:9000/etherealengine-minikube-static-resources + export STORAGE_S3_STATIC_RESOURCE_BUCKET=ir-engine-minikube-static-resources + export VITE_FILE_SERVER=https://localhost:9000/ir-engine-minikube-static-resources else - export STORAGE_S3_STATIC_RESOURCE_BUCKET=etherealengine-microk8s-static-resources - export VITE_FILE_SERVER=https://localhost:9000/etherealengine-microk8s-static-resources + export STORAGE_S3_STATIC_RESOURCE_BUCKET=ir-engine-microk8s-static-resources + export VITE_FILE_SERVER=https://localhost:9000/ir-engine-microk8s-static-resources fi npm run dev-docker @@ -61,7 +61,7 @@ fi npm run prepare-database -echo "Ethereal Engine docker images build starting" +echo "iR Engine docker images build starting" export DOCKER_BUILDKIT=0 export COMPOSE_DOCKER_CLI_BUILD=0 @@ -109,9 +109,9 @@ fi ENGINE_INSTALLED=false if helm status local >/dev/null; then ENGINE_INSTALLED=true - echo "Ethereal Engine is installed" + echo "iR Engine is installed" else - echo "Ethereal Engine is not installed" + echo "iR Engine is not installed" fi export MYSQL_HOST=localhost @@ -121,15 +121,15 @@ npm run prepare-database echo "Force DB refresh is $FORCE_DB_REFRESH" if [[ $ENGINE_INSTALLED == true ]] && [[ $DB_EXISTS == false || $FORCE_DB_REFRESH == 'true' ]]; then - echo "Updating Ethereal Engine deployment to configure database" + echo "Updating iR Engine deployment to configure database" - helm upgrade --reuse-values -f "$OPS_FOLDER/configs/db-refresh-true.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local etherealengine/etherealengine + helm upgrade --reuse-values -f "$OPS_FOLDER/configs/db-refresh-true.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local ir-engine/ir-engine # Added this wait to ensure previous pod is deleted. sleep 60 # Wait until the api pod is ready - apiCount=$(kubectl get deploy local-etherealengine-api -o jsonpath='{.status.availableReplicas}') + apiCount=$(kubectl get deploy local-ir-engine-api -o jsonpath='{.status.availableReplicas}') if [ -z "$apiCount" ]; then apiCount=0 fi @@ -139,24 +139,24 @@ if [[ $ENGINE_INSTALLED == true ]] && [[ $DB_EXISTS == false || $FORCE_DB_REFRES until [ "${apiCount}" -ge 1 ]; do sleep 5 - apiCount=$(kubectl get deploy local-etherealengine-api -o jsonpath='{.status.availableReplicas}') + apiCount=$(kubectl get deploy local-ir-engine-api -o jsonpath='{.status.availableReplicas}') if [ -z "$apiCount" ]; then apiCount=0 fi echo "Waiting for API pod to be ready. API ready count: $apiCount" done - helm upgrade --reuse-values -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" -f "$OPS_FOLDER/configs/db-refresh-false.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local etherealengine/etherealengine + helm upgrade --reuse-values -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" -f "$OPS_FOLDER/configs/db-refresh-false.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local ir-engine/ir-engine elif [[ $ENGINE_INSTALLED == true ]] && [[ $DB_EXISTS == true ]]; then - echo "Updating Ethereal Engine deployment without populating database" + echo "Updating iR Engine deployment without populating database" - helm upgrade --reuse-values -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local etherealengine/etherealengine + helm upgrade --reuse-values -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local ir-engine/ir-engine elif [[ $ENGINE_INSTALLED == false ]] && [[ $DB_EXISTS == false || $FORCE_DB_REFRESH == 'true' ]]; then - echo "Installing Ethereal Engine deployment with populating database" + echo "Installing iR Engine deployment with populating database" - helm install -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" -f "$OPS_FOLDER/configs/db-refresh-true.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local etherealengine/etherealengine + helm install -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" -f "$OPS_FOLDER/configs/db-refresh-true.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local ir-engine/ir-engine - apiCount=$(kubectl get deploy local-etherealengine-api -o jsonpath='{.status.availableReplicas}') + apiCount=$(kubectl get deploy local-ir-engine-api -o jsonpath='{.status.availableReplicas}') if [ -z "$apiCount" ]; then apiCount=0 fi @@ -166,7 +166,7 @@ elif [[ $ENGINE_INSTALLED == false ]] && [[ $DB_EXISTS == false || $FORCE_DB_REF until [ "${apiCount}" -ge 1 ]; do sleep 5 - apiCount=$(kubectl get deploy local-etherealengine-api -o jsonpath='{.status.availableReplicas}') + apiCount=$(kubectl get deploy local-ir-engine-api -o jsonpath='{.status.availableReplicas}') if [ -z "$apiCount" ]; then apiCount=0 fi @@ -175,15 +175,15 @@ elif [[ $ENGINE_INSTALLED == false ]] && [[ $DB_EXISTS == false || $FORCE_DB_REF sleep 5 - helm upgrade --reuse-values -f "$OPS_FOLDER/configs/db-refresh-false.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local etherealengine/etherealengine + helm upgrade --reuse-values -f "$OPS_FOLDER/configs/db-refresh-false.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local ir-engine/ir-engine elif [[ $ENGINE_INSTALLED == false ]] && [[ $DB_EXISTS == true ]]; then - echo "Installing Ethereal Engine deployment without populating database" + echo "Installing iR Engine deployment without populating database" - helm install -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local etherealengine/etherealengine + helm install -f "$CONFIGS_FOLDER/$CLUSTER_ID-engine.values.yaml" --set taskserver.image.tag="$TAG",api.image.tag="$TAG",instanceserver.image.tag="$TAG",testbot.image.tag="$TAG",client.image.tag="$TAG",testbot.image.tag="$TAG" local ir-engine/ir-engine fi export RELEASE_NAME=local bash ./scripts/check-engine.sh ENGINE_STATUS=$(helm status local) -echo "Ethereal Engine status is $ENGINE_STATUS" +echo "iR Engine status is $ENGINE_STATUS" diff --git a/assets/scripts/check-engine-repo.sh b/assets/scripts/check-engine-repo.sh index 1a76971..1856213 100644 --- a/assets/scripts/check-engine-repo.sh +++ b/assets/scripts/check-engine-repo.sh @@ -14,17 +14,17 @@ OPS_FOLDER=$2 #============= if [[ -d $OPS_FOLDER ]]; then - echo "ethereal engine ops repo exists at $OPS_FOLDER" + echo "iR engine ops repo exists at $OPS_FOLDER" else - echo "cloning ethereal engine ops in $OPS_FOLDER" - git clone https://github.com/etherealengine/ethereal-engine-ops "$OPS_FOLDER" + echo "cloning iR engine ops in $OPS_FOLDER" + git clone https://github.com/ir-engine/ir-engine-ops "$OPS_FOLDER" fi if [[ -d $ENGINE_FOLDER ]] && [[ -f "$ENGINE_FOLDER/package.json" ]]; then - echo "ethereal engine repo exists at $ENGINE_FOLDER" + echo "iR engine repo exists at $ENGINE_FOLDER" else - echo "cloning ethereal engine in $ENGINE_FOLDER" - git clone https://github.com/etherealengine/etherealengine "$ENGINE_FOLDER" + echo "cloning iR engine in $ENGINE_FOLDER" + git clone https://github.com/ir-engine/ir-engine "$ENGINE_FOLDER" fi cd "$ENGINE_FOLDER" || exit diff --git a/assets/scripts/check-hostfile.ps1 b/assets/scripts/check-hostfile.ps1 index 8c340d1..72beeba 100644 --- a/assets/scripts/check-hostfile.ps1 +++ b/assets/scripts/check-hostfile.ps1 @@ -36,7 +36,7 @@ function Test-FileLock { # Parameters #=========== -Write-Host "Checking hostfile for etherealengine entries"; +Write-Host "Checking hostfile for iR engine entries"; $EXITCODE = 0; $IS_READONLY = $false; @@ -74,20 +74,20 @@ try { } } - if ($hostFileContent -like "*local.etherealengine.org*") { - if ($hostFileContent -like "*$wslIp local.etherealengine.org*") { - Write-Host "*.etherealengine.org host entry exists"; + if ($hostFileContent -like "*local.ir-engine.org*") { + if ($hostFileContent -like "*$wslIp local.ir-engine.org*") { + Write-Host "*.ir-engine.org host entry exists"; } else { - Write-Host "*.etherealengine.org host entry outdated"; + Write-Host "*.ir-engine.org host entry outdated"; $EXITCODE = 1 if ($IS_READONLY -eq $false) { #Ref: https://shellgeek.com/read-file-line-by-line-in-powershell/ #Ref: https://stackoverflow.com/a/21970035 $updatedContent = [System.IO.File]::ReadAllLines($hostFilePath); - $linenumber = $updatedContent | select-string "local.etherealengine.org"; - $updatedContent[$linenumber.LineNumber - 1] = "$wslIp local.etherealengine.org api-local.etherealengine.org instanceserver-local.etherealengine.org 00000.instanceserver-local.etherealengine.org 00001.instanceserver-local.etherealengine.org 00002.instanceserver-local.etherealengine.org 00003.instanceserver-local.etherealengine.org"; + $linenumber = $updatedContent | select-string "local.ir-engine.org"; + $updatedContent[$linenumber.LineNumber - 1] = "$wslIp local.ir-engine.org api-local.ir-engine.org instanceserver-local.ir-engine.org 00000.instanceserver-local.ir-engine.org 00001.instanceserver-local.ir-engine.org 00002.instanceserver-local.ir-engine.org 00003.instanceserver-local.ir-engine.org"; # Added this to avoid file in user error. $fileLocked = Test-FileLock -Path $hostFilePath @@ -104,11 +104,11 @@ try { } } else { - Write-Host "*.etherealengine.org host entry needs to be added"; + Write-Host "*.ir-engine.org host entry needs to be added"; $EXITCODE = 1 if ($IS_READONLY -eq $false) { - Add-Content -Path $hostFilePath -value "`n$wslIp local.etherealengine.org api-local.etherealengine.org instanceserver-local.etherealengine.org 00000.instanceserver-local.etherealengine.org 00001.instanceserver-local.etherealengine.org 00002.instanceserver-local.etherealengine.org 00003.instanceserver-local.etherealengine.org"; + Add-Content -Path $hostFilePath -value "`n$wslIp local.ir-engine.org api-local.ir-engine.org instanceserver-local.ir-engine.org 00000.instanceserver-local.ir-engine.org 00001.instanceserver-local.ir-engine.org 00002.instanceserver-local.ir-engine.org 00003.instanceserver-local.ir-engine.org"; } } @@ -153,11 +153,11 @@ try { } } else { - Write-Host "*.etherealengine.org & microk8s.registry host entries needs to be created"; + Write-Host "*.ir-engine.org & microk8s.registry host entries needs to be created"; $EXITCODE = 1 if ($IS_READONLY -eq $false) { - Set-Content $hostFilePath "`n$wslIp local.etherealengine.org api-local.etherealengine.org instanceserver-local.etherealengine.org 00000.instanceserver-local.etherealengine.org 00001.instanceserver-local.etherealengine.org 00002.instanceserver-local.etherealengine.org 00003.instanceserver-local.etherealengine.org`n$wslIp microk8s.registry"; + Set-Content $hostFilePath "`n$wslIp local.ir-engine.org api-local.ir-engine.org instanceserver-local.ir-engine.org 00000.instanceserver-local.ir-engine.org 00001.instanceserver-local.ir-engine.org 00002.instanceserver-local.ir-engine.org 00003.instanceserver-local.ir-engine.org`n$wslIp microk8s.registry"; } } diff --git a/assets/scripts/check-microk8s.sh b/assets/scripts/check-microk8s.sh index 96f47f6..330eab4 100644 --- a/assets/scripts/check-microk8s.sh +++ b/assets/scripts/check-microk8s.sh @@ -90,7 +90,7 @@ echo "$PASSWORD" | sudo -S microk8s config > $microk8sConfig echo "Exported microk8s kubeconfig to: $microk8sConfig" -kubectl config rename-context microk8s etherealengine-microk8s --kubeconfig="$microk8sConfig" +kubectl config rename-context microk8s ir-engine-microk8s --kubeconfig="$microk8sConfig" # Check if .bashrc file exists if [[ ! -f ~/.bashrc ]]; then @@ -116,7 +116,7 @@ else echo "config-microk8s entry added in KUBECONFIG of ~/.bashrc" fi -kubectl config use-context etherealengine-microk8s +kubectl config use-context ir-engine-microk8s MICROK8S_VERSION=$(echo "$PASSWORD" | sudo -S microk8s version) echo "microk8s version is $MICROK8S_VERSION" diff --git a/assets/scripts/check-mysql.sh b/assets/scripts/check-mysql.sh index 516f724..72a2598 100644 --- a/assets/scripts/check-mysql.sh +++ b/assets/scripts/check-mysql.sh @@ -13,7 +13,7 @@ ENGINE_FOLDER=$2 # Ensure DB and Redis Running #============================ -if docker top etherealengine_minikube_db; then +if docker top ir-engine_minikube_db; then echo "mysql is running" else echo "mysql is not running" diff --git a/assets/scripts/configure-microk8s-linux.sh b/assets/scripts/configure-microk8s-linux.sh index bd70ba5..14ec67b 100755 --- a/assets/scripts/configure-microk8s-linux.sh +++ b/assets/scripts/configure-microk8s-linux.sh @@ -38,7 +38,7 @@ if [[ -z $ASSETS_FOLDER || -z $CONFIGS_FOLDER || -z $FORCE_DB_REFRESH || -z $ENG exit 1 fi -echo "Starting Ethereal Engine configuration for MicroK8s" +echo "Starting iR Engine configuration for MicroK8s" echo "Cluster ID: ${CLUSTER_ID}" echo "Force DB Refresh: ${FORCE_DB_REFRESH}" @@ -237,12 +237,12 @@ echo "KUBECONFIG is $KUBECONFIG" #================ ADD_DOMAIN=false -if grep -q "local.etherealengine.org" /etc/hosts; then - if grep -q "127.0.0.1 local.etherealengine.org" /etc/hosts; then - echo "*.etherealengine.org entries exists" +if grep -q "local.ir-engine.org" /etc/hosts; then + if grep -q "127.0.0.1 local.ir-engine.org" /etc/hosts; then + echo "*.ir-engine.org entries exists" else - echo "*.etherealengine.org entries outdated" - grep -v 'local.etherealengine.org' /etc/hosts >/tmp/hosts.tmp + echo "*.ir-engine.org entries outdated" + grep -v 'local.ir-engine.org' /etc/hosts >/tmp/hosts.tmp echo "$PASSWORD" | sudo -S cp /tmp/hosts.tmp /etc/hosts ADD_DOMAIN=true fi @@ -251,8 +251,8 @@ else fi if $ADD_DOMAIN; then - echo "$PASSWORD" | sudo -S -- sh -c "echo '127.0.0.1 local.etherealengine.org api-local.etherealengine.org instanceserver-local.etherealengine.org 00000.instanceserver-local.etherealengine.org 00001.instanceserver-local.etherealengine.org 00002.instanceserver-local.etherealengine.org 00003.instanceserver-local.etherealengine.org' >>/etc/hosts" - echo "*.etherealengine.org entries added" + echo "$PASSWORD" | sudo -S -- sh -c "echo '127.0.0.1 local.ir-engine.org api-local.ir-engine.org instanceserver-local.ir-engine.org 00000.instanceserver-local.ir-engine.org 00001.instanceserver-local.ir-engine.org 00002.instanceserver-local.ir-engine.org 00003.instanceserver-local.ir-engine.org' >>/etc/hosts" + echo "*.ir-engine.org entries added" fi #================== @@ -292,7 +292,7 @@ echo "Tag is $TAG" checkExitCode #======================= -# Verify Ethereal Engine +# Verify iR Engine #======================= bash "$SCRIPTS_FOLDER/check-engine-deployment.sh" "$ENGINE_FOLDER" "$FORCE_DB_REFRESH" "$CONFIGS_FOLDER" "$CLUSTER_ID" "microk8s" "$OPS_FOLDER" "$TAG" diff --git a/assets/scripts/configure-microk8s-windows.ps1 b/assets/scripts/configure-microk8s-windows.ps1 index ef19cc3..a9d706b 100644 --- a/assets/scripts/configure-microk8s-windows.ps1 +++ b/assets/scripts/configure-microk8s-windows.ps1 @@ -79,7 +79,7 @@ if ([string]::IsNullOrEmpty($ASSETS_FOLDER) -or exit 1 } -Write-Host "Starting Ethereal Engine configuration for MicroK8s in WSL"; +Write-Host "Starting iR Engine configuration for MicroK8s in WSL"; Write-Host "Cluster ID: $CLUSTER_ID"; Write-Host "Force DB Refresh: $FORCE_DB_REFRESH"; @@ -409,7 +409,7 @@ $TAG = wsl bash -ic "echo `$(jq -r .version `"$ENGINE_FOLDER/packages/server-cor Write-Host "Tag is $TAG"; #======================= -# Verify Ethereal Engine +# Verify iR Engine #======================= wsl bash -ic "`"$SCRIPTS_FOLDER/check-engine-deployment.sh`" `"$ENGINE_FOLDER`" `"$FORCE_DB_REFRESH`" `"$CONFIGS_FOLDER`" `"$CLUSTER_ID`" `"microk8sWindows`" `"$OPS_FOLDER`" `"$TAG`""; diff --git a/assets/scripts/configure-minikube-linux.sh b/assets/scripts/configure-minikube-linux.sh index 2bb4ba0..be73e55 100755 --- a/assets/scripts/configure-minikube-linux.sh +++ b/assets/scripts/configure-minikube-linux.sh @@ -37,7 +37,7 @@ if [[ -z $ASSETS_FOLDER || -z $CONFIGS_FOLDER || -z $FORCE_DB_REFRESH || -z $ENG exit 1 fi -echo "Starting Ethereal Engine configuration for MiniKube" +echo "Starting iR Engine configuration for MiniKube" echo "Cluster ID: ${CLUSTER_ID}" echo "Force DB Refresh: ${FORCE_DB_REFRESH}" @@ -268,12 +268,12 @@ fi MINIKUBE_IP=$(minikube ip) ADD_MINIKUBE_IP=false -if grep -q "local.etherealengine.org" /etc/hosts; then +if grep -q "local.ir-engine.org" /etc/hosts; then if grep -q "$MINIKUBE_IP" /etc/hosts; then - echo "*.etherealengine.org entries exists" + echo "*.ir-engine.org entries exists" else - echo "*.etherealengine.org entries outdated" - grep -v 'local.etherealengine.org' /etc/hosts >/tmp/hosts.tmp + echo "*.ir-engine.org entries outdated" + grep -v 'local.ir-engine.org' /etc/hosts >/tmp/hosts.tmp echo "$PASSWORD" | sudo -S cp /tmp/hosts.tmp /etc/hosts ADD_MINIKUBE_IP=true fi @@ -282,8 +282,8 @@ else fi if $ADD_MINIKUBE_IP; then - echo "$PASSWORD" | sudo -S -- sh -c "echo '$MINIKUBE_IP local.etherealengine.org api-local.etherealengine.org instanceserver-local.etherealengine.org 00000.instanceserver-local.etherealengine.org 00001.instanceserver-local.etherealengine.org 00002.instanceserver-local.etherealengine.org 00003.instanceserver-local.etherealengine.org' >>/etc/hosts" - echo "*.etherealengine.org entries added" + echo "$PASSWORD" | sudo -S -- sh -c "echo '$MINIKUBE_IP local.ir-engine.org api-local.ir-engine.org instanceserver-local.ir-engine.org 00000.instanceserver-local.ir-engine.org 00001.instanceserver-local.ir-engine.org 00002.instanceserver-local.ir-engine.org 00003.instanceserver-local.ir-engine.org' >>/etc/hosts" + echo "*.ir-engine.org entries added" fi #================== @@ -311,7 +311,7 @@ bash "$SCRIPTS_FOLDER/check-ripple.sh" "$ENABLE_RIPPLE_STACK" "$OPS_FOLDER" "$CO checkExitCode #======================= -# Verify Ethereal Engine +# Verify iR Engine #======================= bash "$SCRIPTS_FOLDER/check-engine-deployment.sh" "$ENGINE_FOLDER" "$FORCE_DB_REFRESH" "$CONFIGS_FOLDER" "$CLUSTER_ID" "minikube" "$OPS_FOLDER" "latest" diff --git a/package.json b/package.json index bac0557..b01ad6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "etherealengine-control-center", - "description": "A desktop app for managing Ethereal Engine cluster.", + "name": "ir-engine-launcher", + "description": "A desktop app for launcher Infinite Reality Engine Deployments", "homepage": "etherealengine.org", "keywords": [ "electron", @@ -17,16 +17,16 @@ "vr" ], "author": { - "name": "Ethereal Engine", + "name": "Infinite Reality Engine", "email": "hello@etherealengine.org", "url": "https://etherealengine.org" }, "repository": { "type": "git", - "url": "git+https://github.com/etherealengine/etherealengine-control-center.git" + "url": "git+https://github.com/ir-engine/ir-engine-launcher.git" }, "bugs": { - "url": "https://github.com/etherealengine/etherealengine-control-center/issues" + "url": "https://github.com/ir-engine/ir-engine-launcher/issues" }, "main": "./src/main/main.ts", "scripts": { @@ -53,8 +53,8 @@ ] }, "build": { - "productName": "Ethereal Engine Control Center", - "appId": "org.etherealengine.controlcenter", + "productName": "iR Engine Launcher", + "appId": "org.irengine.launcher", "asar": true, "asarUnpack": "**\\*.{node,dll}", "files": [ @@ -112,8 +112,8 @@ ], "publish": { "provider": "github", - "owner": "etherealengine", - "repo": "etherealengine-control-center" + "owner": "ir-engine", + "repo": "ir-engine-launcher" } }, "jest": { @@ -246,7 +246,7 @@ "npm": ">=7.x" }, "collective": { - "url": "https://opencollective.com/etherealengine" + "url": "https://opencollective.com/ir-engine" }, "electronmon": { "patterns": [ diff --git a/release/app/package.json b/release/app/package.json index f1f1499..f334774 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,11 +1,11 @@ { - "name": "etherealengine-control-center", + "name": "ir-engine-launcher", "version": "0.4.6", - "description": "A desktop app for managing Ethereal Engine cluster.", + "description": "A desktop app for managing Infinite Reality Engine cluster.", "license": "MIT", "author": { - "name": "Ethereal Engine", - "email": "hello@etherealengine.org", + "name": "Infinite Reality Engine", + "email": "hello@ir-engine.org", "url": "https://etherealengine.org" }, "main": "./dist/main/main.js", diff --git a/src/constants/Endpoints.ts b/src/constants/Endpoints.ts index bd12587..2cf95e4 100755 --- a/src/constants/Endpoints.ts +++ b/src/constants/Endpoints.ts @@ -1,40 +1,40 @@ const Endpoints = { ALLOW_CERTIFICATES: [ - 'local.etherealengine.org', // Client - 'api-local.etherealengine.org', // API Server - 'instanceserver-local.etherealengine.org', // Instance Server + 'local.ir-engine.org', // Client + 'api-local.ir-engine.org', // API Server + 'instanceserver-local.ir-engine.org', // Instance Server 'localhost:9000', // MinIO 'localhost:10443' // Microk8s Dashboard ], MYSQL_PORT: 3304, - DEFAULT_ENGINE_FOLDER: 'etherealengine', - DEFAULT_OPS_FOLDER: 'etherealengine-ops', + DEFAULT_ENGINE_FOLDER: 'ir-engine', + DEFAULT_OPS_FOLDER: 'ir-engine-ops', Urls: { - HOST: 'https://etherealengine.org', - CLIENT_HOST: 'https://local.etherealengine.org', - API_HOST: 'https://api-local.etherealengine.org', - INSTANCE_HOST: 'https://instanceserver-local.etherealengine.org', + HOST: 'https://ir-engine.org', + CLIENT_HOST: 'https://local.ir-engine.org', + API_HOST: 'https://api-local.ir-engine.org', + INSTANCE_HOST: 'https://instanceserver-local.ir-engine.org', MINIO_HOST: 'https://localhost:9000', - ADMIN_PORTAL: 'https://local.etherealengine.org/admin', - LOGIN_PAGE: 'https://local.etherealengine.org/', + ADMIN_PORTAL: 'https://local.ir-engine.org/admin', + LOGIN_PAGE: 'https://local.ir-engine.org/', LAUNCH_PAGE: (host: string) => `${host.startsWith('https') ? '' : 'https://'}${host}/location/apartment`, - ENGINE_ENV_DEFAULT: 'https://raw.githubusercontent.com/etherealengine/etherealengine/dev/.env.local.default', + ENGINE_ENV_DEFAULT: 'https://raw.githubusercontent.com/ir-engine/ir-engine/dev/.env.local.default', MINIKUBE_LINUX_SCRIPT: - 'https://raw.githubusercontent.com/etherealengine/etherealengine-control-center/master/assets/scripts/configure-minikube-linux.sh', + 'https://raw.githubusercontent.com/ir-engine/ir-engine/launcher/master/assets/scripts/configure-minikube-linux.sh', MICROK8S_LINUX_SCRIPT: - 'https://raw.githubusercontent.com/etherealengine/etherealengine-control-center/master/assets/scripts/configure-microk8s-linux.sh', + 'https://raw.githubusercontent.com/ir-engine/ir-engine/launcher/master/assets/scripts/configure-microk8s-linux.sh', MICROK8S_WINDOWS_SCRIPT: - 'https://raw.githubusercontent.com/etherealengine/etherealengine-control-center/master/assets/scripts/configure-microk8s-windows.ps1', + 'https://raw.githubusercontent.com/ir-engine/ir-engine/launcher/master/assets/scripts/configure-microk8s-windows.ps1', MINIKUBE_VALUES_TEMPLATE: - 'https://raw.githubusercontent.com/EtherealEngine/ethereal-engine-ops/master/configs/local.minikube.template.values.yaml', + 'https://raw.githubusercontent.com/ir-engine/ir-engine-ops/master/configs/local.minikube.template.values.yaml', MICROK8S_VALUES_TEMPLATE: - 'https://raw.githubusercontent.com/EtherealEngine/ethereal-engine-ops/master/configs/local.microk8s.template.values.yaml', + 'https://raw.githubusercontent.com/ir-engine/ir-engine-ops/master/configs/local.microk8s.template.values.yaml', RIPPLED_CLI_DOCS: 'https://xrpl.org/commandline-usage.html', IPFS_VALUES_TEMPLATE: - 'https://raw.githubusercontent.com/EtherealEngine/ethereal-engine-ops/master/ipfs/values.yaml', + 'https://raw.githubusercontent.com/ir-engine/ir-engine-ops/master/ipfs/values.yaml', MICROK8S_REGISTRY_CATALOG: 'http://localhost:32000/v2/_catalog', MICROK8S_WINDOWS_REGISTRY_CATALOG: 'http://microk8s.registry:32000/v2/_catalog', - SUPPORT_GITHUB: 'https://github.com/EtherealEngine/etherealengine-control-center/issues', + SUPPORT_GITHUB: 'https://github.com/ir-engine/ir-engine-launcher/issues', SUPPORT_DISCORD: 'https://discord.gg/xrf' }, Paths: { diff --git a/src/main/Clusters/BaseCluster/BaseCluster.appstatus.ts b/src/main/Clusters/BaseCluster/BaseCluster.appstatus.ts index 9d1d804..1fecc64 100644 --- a/src/main/Clusters/BaseCluster/BaseCluster.appstatus.ts +++ b/src/main/Clusters/BaseCluster/BaseCluster.appstatus.ts @@ -10,12 +10,12 @@ export const DefaultEngineStatus: AppModel[] = [ getAppModel( 'client', 'Client', - "kubectl get deployment local-etherealengine-client -o 'jsonpath={.status.availableReplicas}'" + "kubectl get deployment local-ir-engine-client -o 'jsonpath={.status.availableReplicas}'" ), getAppModel( 'apiserver', 'API Server', - "kubectl get deployment local-etherealengine-api -o 'jsonpath={.status.availableReplicas}'" + "kubectl get deployment local-ir-engine-api -o 'jsonpath={.status.availableReplicas}'" ), getAppModel( 'instanceserver', diff --git a/src/main/Clusters/BaseCluster/BaseCluster.class.ts b/src/main/Clusters/BaseCluster/BaseCluster.class.ts index 36ea5af..8eed196 100644 --- a/src/main/Clusters/BaseCluster/BaseCluster.class.ts +++ b/src/main/Clusters/BaseCluster/BaseCluster.class.ts @@ -167,7 +167,7 @@ class BaseCluster { if (preRequisitesConfigured == false) { status = { ...engineItem, - detail: 'Ethereal Engine required apps not configured', + detail: 'Infinite Reality Engine required apps not configured', status: AppStatus.NotConfigured } } else if (engineItem.checkCommand) { diff --git a/src/main/Clusters/MicroK8s/MicroK8s.appstatus.ts b/src/main/Clusters/MicroK8s/MicroK8s.appstatus.ts index 29f75e2..eb57b99 100644 --- a/src/main/Clusters/MicroK8s/MicroK8s.appstatus.ts +++ b/src/main/Clusters/MicroK8s/MicroK8s.appstatus.ts @@ -38,8 +38,8 @@ export const MicroK8sAppsStatus = (sudoPassword?: string): AppModel[] => { getAppModel('make', 'Make', 'make --version;'), getAppModel('docker', 'Docker', 'docker --version;'), getAppModel('dockercompose', 'Docker Compose', 'docker-compose --version;'), - getAppModel('mysql', 'MySql', 'docker top etherealengine_minikube_db;'), - getAppModel('minio', 'MinIO', 'docker top etherealengine_minio_s3;'), + getAppModel('mysql', 'MySql', 'docker top ir-engine_minikube_db;'), + getAppModel('minio', 'MinIO', 'docker top ir-engine_minio_s3;'), getAppModel('kubectl', 'kubectl', 'kubectl version --client --output=yaml;'), getAppModel('helm', 'Helm', 'helm version;'), getAppModel( @@ -70,14 +70,14 @@ export const MicroK8sAppsStatus = (sudoPassword?: string): AppModel[] => { if ($wslIp -like "* *") { $wslIp = $wslIp.split(" ")[0] - if ($content -like "*local.etherealengine.org*") { + if ($content -like "*local.ir-engine.org*") { if ($content -like "*$wslIp*") { - Write-Host "*.etherealengine.org entries exists" + Write-Host "*.ir-engine.org entries exists" } else { - throw "*.etherealengine.org entries outdated" + throw "*.ir-engine.org entries outdated" } } else { - throw "*.etherealengine.org entries does not exist" + throw "*.ir-engine.org entries does not exist" } if ($content -like "*microk8s.registry*") { @@ -95,16 +95,16 @@ export const MicroK8sAppsStatus = (sudoPassword?: string): AppModel[] => { ` : microk8sDependantScript( ` - if grep -q 'local.etherealengine.org' /etc/hosts; then - if grep -q '127.0.0.1 local.etherealengine.org' /etc/hosts; then - echo '*.etherealengine.org entries exists' + if grep -q 'local.ir-engine.org' /etc/hosts; then + if grep -q '127.0.0.1 local.ir-engine.org' /etc/hosts; then + echo '*.ir-engine.org entries exists' exit 0; else - echo '*.etherealengine.org entries outdated' >&2; + echo '*.ir-engine.org entries outdated' >&2; exit 1; fi else - echo '*.etherealengine.org entries does not exist' >&2; + echo '*.ir-engine.org entries does not exist' >&2; exit 1; fi `, @@ -112,7 +112,7 @@ export const MicroK8sAppsStatus = (sudoPassword?: string): AppModel[] => { ), type !== 'Windows_NT' ), - getAppModel('engine', 'Ethereal Engine', microk8sDependantScript(`helm status local;`, microk8sPrefix)) + getAppModel('engine', 'Infinite Reality Engine', microk8sDependantScript(`helm status local;`, microk8sPrefix)) ] if (type === 'Windows_NT') { diff --git a/src/main/Clusters/Minikube/Minikube.appstatus.ts b/src/main/Clusters/Minikube/Minikube.appstatus.ts index b8c7691..fe21178 100644 --- a/src/main/Clusters/Minikube/Minikube.appstatus.ts +++ b/src/main/Clusters/Minikube/Minikube.appstatus.ts @@ -20,8 +20,8 @@ export const MinikubeAppsStatus: AppModel[] = [ getAppModel('git', 'Git', 'git --version;'), getAppModel('docker', 'Docker', 'docker --version;'), getAppModel('dockercompose', 'Docker Compose', 'docker-compose --version;'), - getAppModel('mysql', 'MySql', 'docker top etherealengine_minikube_db;'), - getAppModel('minio', 'MinIO', 'docker top etherealengine_minio_s3;'), + getAppModel('mysql', 'MySql', 'docker top ir-engine_minikube_db;'), + getAppModel('minio', 'MinIO', 'docker top ir-engine_minio_s3;'), getAppModel('virtualbox', 'VirtualBox', 'vboxmanage --version;'), getAppModel('kubectl', 'kubectl', 'kubectl version --client --output=yaml;'), getAppModel('helm', 'Helm', 'helm version;'), @@ -41,22 +41,22 @@ export const MinikubeAppsStatus: AppModel[] = [ minikubeDependantScript( ` MINIKUBE_IP=$(minikube ip) - if grep -q "local.etherealengine.org" /etc/hosts; then + if grep -q "local.ir-engine.org" /etc/hosts; then if grep -q "$MINIKUBE_IP" /etc/hosts; then - echo "*.etherealengine.org entries exists"; + echo "*.ir-engine.org entries exists"; exit 0; else - echo "*.etherealengine.org entries outdated" >&2; + echo "*.ir-engine.org entries outdated" >&2; exit 1; fi else - echo "*.etherealengine.org entries does not exist" >&2; + echo "*.ir-engine.org entries does not exist" >&2; exit 1; fi ` ) ), - getAppModel('engine', 'Ethereal Engine', minikubeDependantScript('helm status local;')) + getAppModel('engine', 'Infinite Reality Engine', minikubeDependantScript('helm status local;')) ] export const MinikubeRippleAppsStatus: AppModel[] = [ diff --git a/src/main/handlers/ConfigFile/ConfigFile.class.ts b/src/main/handlers/ConfigFile/ConfigFile.class.ts index b46e0f2..631ecd2 100755 --- a/src/main/handlers/ConfigFile/ConfigFile.class.ts +++ b/src/main/handlers/ConfigFile/ConfigFile.class.ts @@ -104,7 +104,7 @@ class ConfigFile { try { const { filePaths } = await dialog.showOpenDialog({ properties: ['openFile'], - filters: [{ name: 'Control Center Config File', extensions: ['json'] }] + filters: [{ name: 'Launcher Config File', extensions: ['json'] }] }) if (filePaths.length === 0) { diff --git a/src/main/handlers/Workloads/Workloads-helper.ts b/src/main/handlers/Workloads/Workloads-helper.ts index 7b6a122..d0c843b 100644 --- a/src/main/handlers/Workloads/Workloads-helper.ts +++ b/src/main/handlers/Workloads/Workloads-helper.ts @@ -52,7 +52,7 @@ export const getWorkloads = async (k8DefaultClient: k8s.CoreV1Api, releaseName: const projectUpdatePods = await getPodsData( k8DefaultClient, - `etherealengine/release=${releaseName},etherealengine/projectUpdater=true`, + `ir-engine/release=${releaseName},ir-engine/projectUpdater=true`, 'projectUpdate', 'Project Updater' ) diff --git a/src/main/handlers/Workloads/Workloads.class.ts b/src/main/handlers/Workloads/Workloads.class.ts index ab0a5de..8fa4ea1 100644 --- a/src/main/handlers/Workloads/Workloads.class.ts +++ b/src/main/handlers/Workloads/Workloads.class.ts @@ -51,7 +51,7 @@ class Workloads { const configMap = await getConfigMap( k8DefaultClient, - `app.kubernetes.io/instance=${releaseName},app.kubernetes.io/component=api,app.kubernetes.io/name=etherealengine` + `app.kubernetes.io/instance=${releaseName},app.kubernetes.io/component=api,app.kubernetes.io/name=ir-engine` ) let appHost = configMap.length > 0 && configMap[0].data && configMap[0].data['CLIENT_ADDRESS'] @@ -92,7 +92,7 @@ class Workloads { const apiDeploys = await getDeployments( k8AppsClient, - `app.kubernetes.io/component=api,app.kubernetes.io/name=etherealengine` + `app.kubernetes.io/component=api,app.kubernetes.io/name=ir-engine` ) for (const item of apiDeploys?.body.items || []) { @@ -200,12 +200,12 @@ class Workloads { kc.loadFromFile(configPath) - const contextExists = kc.getContextObject('etherealengine-microk8s') + const contextExists = kc.getContextObject('ir-engine-microk8s') if (!contextExists) { throw 'Unable to find microK8s config' } - kc.setCurrentContext('etherealengine-microk8s') + kc.setCurrentContext('ir-engine-microk8s') } else if (cluster.type === ClusterType.Custom) { let typeValue = '' diff --git a/src/main/main.ts b/src/main/main.ts index 789fd6d..a1f2712 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -128,8 +128,8 @@ const createWindow = async () => { autoUpdater.autoDownload = false autoUpdater.setFeedURL({ provider: 'github', - owner: 'etherealengine', - repo: 'etherealengine-control-center' + owner: 'ir-engine', + repo: 'ir-engine-launcher' }) autoUpdater.logger = log } diff --git a/src/renderer/SplashScreen.tsx b/src/renderer/SplashScreen.tsx index f164b9d..ae2c5ac 100644 --- a/src/renderer/SplashScreen.tsx +++ b/src/renderer/SplashScreen.tsx @@ -131,7 +131,7 @@ const SplashScreen = () => { - Control Center + Launcher { - Control Center + Launcher @@ -182,7 +182,7 @@ const NavView = () => { - Control Center + Launcher ConfigFileService.setSelectedClusterId('')}> diff --git a/src/renderer/components/Config/ConfigsView.tsx b/src/renderer/components/Config/ConfigsView.tsx index 0dddb4c..4f34f1c 100644 --- a/src/renderer/components/Config/ConfigsView.tsx +++ b/src/renderer/components/Config/ConfigsView.tsx @@ -91,7 +91,7 @@ const ConfigsView = ({ localConfigs, onChange, sx }: Props) => { /> @@ -117,7 +117,7 @@ const ConfigsView = ({ localConfigs, onChange, sx }: Props) => { ) }} /> - + {/* {

Release name is used to prefix the workloads in your cluster like: -
'{'{RELEASE_NAME}'}-etherealengine-client'. i.e. 'prod-etherealengine-client' +
'{'{RELEASE_NAME}'}-ir-engine-client'. i.e. 'prod-ir-engine-client' } /> diff --git a/src/renderer/components/Setting/AdditionalConfigsView.tsx b/src/renderer/components/Setting/AdditionalConfigsView.tsx index 4c451c7..8668fd2 100644 --- a/src/renderer/components/Setting/AdditionalConfigsView.tsx +++ b/src/renderer/components/Setting/AdditionalConfigsView.tsx @@ -18,7 +18,7 @@ const AdditionalConfigsView = ({ localFlags, onChange, sx }: Props) => { label={ {Storage.SHOW_ALL_BRANCHES.replaceAll('_', ' ')} - + } sx={{ marginTop: 1, marginLeft: 0 }} diff --git a/src/renderer/components/Setting/EngineView.tsx b/src/renderer/components/Setting/EngineView.tsx index 9cc7ba0..80f908b 100644 --- a/src/renderer/components/Setting/EngineView.tsx +++ b/src/renderer/components/Setting/EngineView.tsx @@ -90,7 +90,7 @@ const EngineView = ({ sx }: Props) => { throw stringError } } catch (err) { - enqueueSnackbar('Failed to remove Ethereal Engine deployment.', { variant: 'error' }) + enqueueSnackbar('Failed to remove Infinite Reality Engine deployment.', { variant: 'error' }) } setProcessingDeploymentPrune(false) @@ -105,10 +105,10 @@ const EngineView = ({ sx }: Props) => { const enginePath = clonedCluster.configs[Storage.ENGINE_PATH] const command = ` - docker container stop etherealengine_minikube_db; - docker container stop etherealengine_test_db; - docker container rm etherealengine_minikube_db; - docker container rm etherealengine_test_db; + docker container stop ir-engine_minikube_db; + docker container stop ir-engine_test_db; + docker container rm ir-engine_minikube_db; + docker container rm ir-engine_test_db; docker container prune --force; cd '${enginePath}'; npm run dev-docker` @@ -260,7 +260,7 @@ const EngineView = ({ sx }: Props) => { label={ RESET .ENV.LOCAL - + } control={<>} @@ -285,7 +285,7 @@ const EngineView = ({ sx }: Props) => { {showDeploymentAlert && ( setDeploymentAlert(false)} onOk={onPruneDeployment} @@ -303,7 +303,7 @@ const EngineView = ({ sx }: Props) => { {showEnvAlert && ( setEnvAlert(false)} onOk={onResetEnv} diff --git a/src/renderer/dialogs/ConfigurationDialog.tsx b/src/renderer/dialogs/ConfigurationDialog.tsx index 9d46b78..353baaa 100644 --- a/src/renderer/dialogs/ConfigurationDialog.tsx +++ b/src/renderer/dialogs/ConfigurationDialog.tsx @@ -198,7 +198,7 @@ const ConfigurationDialog = ({ onClose }: Props) => { Provide configuration variables (Optional).
- If value is not provided, then the default ones from .env.local of Ethereal Engine repo will be used. + If value is not provided, then the default ones from .env.local of Infinite Reality Engine repo will be used. ), @@ -256,7 +256,7 @@ const ConfigurationDialog = ({ onClose }: Props) => { Note:{' '} - Control Center will install missing packages and make changes in your system configurations. To review + Launcher will install missing packages and make changes in your system configurations. To review these changes you can checkout the script{' '} { Note:{' '} The configuration may fail the 1st time you are trying to run it. You can try, running the configuration - wizard again, or relaunching the control center app, or reboot your PC. This is because some changes + wizard again, or relaunching the launcher app, or reboot your PC. This is because some changes require you to perform these actions. If you still face the same issue then report it. diff --git a/src/renderer/dialogs/CreateClusterDialog.tsx b/src/renderer/dialogs/CreateClusterDialog.tsx index 72b5551..e70d3ec 100644 --- a/src/renderer/dialogs/CreateClusterDialog.tsx +++ b/src/renderer/dialogs/CreateClusterDialog.tsx @@ -365,7 +365,7 @@ const CreateClusterDialog = ({ onClose }: Props) => { Note:{' '} - Control Center will install missing packages and make changes in your system configurations. To review + Launcher will install missing packages and make changes in your system configurations. To review these changes you can checkout the script{' '} { Note:{' '} The configuration may fail the 1st time you are trying to run it. You can try, running the configuration - wizard again, or relaunching the control center app, or reboot your PC. This is because some changes + wizard again, or relaunching the launcher app, or reboot your PC. This is because some changes require you to perform these actions. If you still face the same issue then report it. diff --git a/src/renderer/dialogs/MokRestartDialog.tsx b/src/renderer/dialogs/MokRestartDialog.tsx index 496dffd..9af0b29 100644 --- a/src/renderer/dialogs/MokRestartDialog.tsx +++ b/src/renderer/dialogs/MokRestartDialog.tsx @@ -109,7 +109,7 @@ const MokRestartDialog = ({ onClose }: Props) => {
- After rebooting you can run 'Configure' button in Ethereal Engine Control Center again + After rebooting you can run 'Configure' button in Infinite Reality Engine Launcher again diff --git a/src/renderer/dialogs/SettingsDialog.tsx b/src/renderer/dialogs/SettingsDialog.tsx index 3449ed5..47a7083 100644 --- a/src/renderer/dialogs/SettingsDialog.tsx +++ b/src/renderer/dialogs/SettingsDialog.tsx @@ -180,7 +180,7 @@ const SettingsDialog = ({ onClose }: Props) => { - Control Center + Launcher App Version: {appVersion} diff --git a/src/renderer/index.ejs b/src/renderer/index.ejs index 48f917a..26e1726 100644 --- a/src/renderer/index.ejs +++ b/src/renderer/index.ejs @@ -4,7 +4,7 @@ - Ethereal Engine Control Center + Infinite Reality Engine Launcher diff --git a/src/renderer/pages/AdminPage.tsx b/src/renderer/pages/AdminPage.tsx index 3d3c80d..506fe90 100644 --- a/src/renderer/pages/AdminPage.tsx +++ b/src/renderer/pages/AdminPage.tsx @@ -43,7 +43,7 @@ const AdminPage = () => { let loadingMessage = '' if (checking) { - loadingMessage = 'Checking Ethereal Engine' + loadingMessage = 'Checking Infinite Reality Engine' } else if (currentDeployment?.adminPanel.loading) { loadingMessage = 'Loading Dashboard' } @@ -52,8 +52,8 @@ const AdminPage = () => { let errorDetail = '' let errorRetry = () => {} if (!allConfigured) { - errorMessage = 'Ethereal Engine Not Configured' - errorDetail = 'Please configure Ethereal Engine before trying again.' + errorMessage = 'Infinite Reality Engine Not Configured' + errorDetail = 'Please configure Infinite Reality Engine before trying again.' errorRetry = () => DeploymentService.fetchDeploymentStatus(selectedCluster) } else if (currentDeployment?.adminPanel.error) { errorMessage = 'Admin Panel Error' diff --git a/src/renderer/pages/WelcomePage.tsx b/src/renderer/pages/WelcomePage.tsx index 6e826b5..55d2dc2 100644 --- a/src/renderer/pages/WelcomePage.tsx +++ b/src/renderer/pages/WelcomePage.tsx @@ -21,7 +21,7 @@ const WelcomePage = () => { - Control Center + Launcher diff --git a/src/renderer/services/DeploymentService.ts b/src/renderer/services/DeploymentService.ts index 5639a61..cf6d9ad 100644 --- a/src/renderer/services/DeploymentService.ts +++ b/src/renderer/services/DeploymentService.ts @@ -311,7 +311,7 @@ export const DeploymentService = { } catch (error) { console.error(error) - enqueueSnackbar('Failed to configure Ethereal Engine. Please check logs.', { + enqueueSnackbar('Failed to configure Infinite Reality Engine. Please check logs.', { variant: 'error' }) }