From 215e0b1b8abf22a97c4842eb2fd7f32b1bc52aa5 Mon Sep 17 00:00:00 2001 From: TaurionBruni Date: Fri, 7 Jun 2024 22:15:53 -0400 Subject: [PATCH 1/4] changed Example compose file to use locally built image --- docker-compose.Example.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.Example.yml b/docker-compose.Example.yml index f1bcb73..193feee 100644 --- a/docker-compose.Example.yml +++ b/docker-compose.Example.yml @@ -1,7 +1,7 @@ services: server: command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb - image: ghcr.io/pagefaultgames/rogueserver:master + image: rogueserver:latest restart: unless-stopped depends_on: db: From 56add8c815cfd532fe6d11e1457f906cc6223465 Mon Sep 17 00:00:00 2001 From: TaurionBruni Date: Fri, 7 Jun 2024 22:16:56 -0400 Subject: [PATCH 2/4] changed readme to reflect changes to pokerogue setup, and instructions on how to build image locally --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2040c8e..d356082 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,13 @@ There is a sample docker-compose file for setting up a docker container to setup - npm: [how to install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) ## Installation: +``` +docker build . -t rogueserver +``` + The docker compose file should automatically implement a container with mariadb with an empty database and the default user and password combo of pokerogue:pokerogue -### src/utils.ts:224-225 (in pokerogue) +### .env and .env.development (in pokerogue) Replace both URLs (one on each line) with the local API server address from rogueserver.go (0.0.0.0:8001) (or whatever port you picked) # If you are on Windows From b31e5f4a0b6b4fce081e71a123b4355dc27a7a26 Mon Sep 17 00:00:00 2001 From: TaurionBruni Date: Fri, 7 Jun 2024 22:20:13 -0400 Subject: [PATCH 3/4] changed readme to match changes to pokerogue setup --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d356082..00065d9 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ docker build . -t rogueserver The docker compose file should automatically implement a container with mariadb with an empty database and the default user and password combo of pokerogue:pokerogue ### .env and .env.development (in pokerogue) -Replace both URLs (one on each line) with the local API server address from rogueserver.go (0.0.0.0:8001) (or whatever port you picked) +Replace the URL on VITE_SERVER_URL in both files to match your local ip and port of rogueserver if nessessary # If you are on Windows From d81f7a14d7fca00dcbe5607ee142ef8869cb8030 Mon Sep 17 00:00:00 2001 From: TaurionBruni Date: Fri, 7 Jun 2024 22:22:58 -0400 Subject: [PATCH 4/4] forgot one thing --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 00065d9..b1f96bc 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ There is a sample docker-compose file for setting up a docker container to setup ## Installation: ``` docker build . -t rogueserver +docker compose -f docker.compose.Example.yml up -d ``` The docker compose file should automatically implement a container with mariadb with an empty database and the default user and password combo of pokerogue:pokerogue