diff --git a/README.md b/README.md index 2040c8e..b1f96bc 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,15 @@ 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 +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 -### src/utils.ts:224-225 (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) +### .env and .env.development (in pokerogue) +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 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: