Update README.md

added updated information for the docker compose container that is being implemented
pull/8/head
ser3n1ty 2024-05-09 00:57:07 -07:00 committed by GitHub
parent b00321f501
commit d5e7b438f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 10 deletions

View File

@ -14,16 +14,7 @@ If using Windows: [Chocolatey](https://chocolatey.org/install)
- npm: [how to install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - npm: [how to install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
## Installation: ## Installation:
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
Once you have all the prerequisites you will need to setup a database.
There are tons of database services you can choose from:
- mysql - [getting started](https://dev.mysql.com/doc/mysql-getting-started/en/)
- mariadb - [getting started](https://mariadb.com/get-started-with-mariadb/)
- etc
I went with MySQL. Once the database is setup, make sure that you can authenticate to the database.
After being able to login to the database, create a database/schema called pokeroguedb.
Select it as the default database and then run the sql queries from sqlqueries.sql. You should now be able to see all of the empty tables.
Edit the following files: Edit the following files:
### rogueserver.go:34 ### rogueserver.go:34