Skip to content

Commit

Permalink
Fixed bug with dev-reinit getting stucked (#154)
Browse files Browse the repository at this point in the history
* Fixed bug with dev-reinit getting stucked

* Update package.json
  • Loading branch information
hanzlamateen committed Sep 12, 2023
1 parent 3239932 commit 4239907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
18 changes: 2 additions & 16 deletions assets/scripts/check-engine-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,9 @@ if [[ -d $PROJECTS_PATH ]]; then
else
echo "ethereal engine projects does not exists at $PROJECTS_PATH"

RE_INIT=true
fi

if [[ $RE_INIT == true || $FORCE_DB_REFRESH == 'true' ]]; then
export MYSQL_HOST=localhost
export MYSQL_PORT=3304

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
else
export STORAGE_S3_STATIC_RESOURCE_BUCKET=etherealengine-microk8s-static-resources
export VITE_FILE_SERVER=https://localhost:9000/etherealengine-microk8s-static-resources
fi
npx ts-node --swc scripts/install-projects.js

npm run dev-docker
npm run dev-reinit
echo "ethereal engine projects installed at $PROJECTS_PATH"
fi

export MYSQL_HOST=localhost
Expand Down
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "etherealengine-control-center",
"version": "0.4.0",
"version": "0.4.1",
"description": "A desktop app for managing Ethereal Engine cluster.",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 4239907

Please sign in to comment.