From ccb9f7c499a4ea3b054e5b172b5bfc39c0bb7b60 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Tue, 12 Jul 2022 20:45:25 -0700 Subject: [PATCH] Move instruction for database Move the instruction for running the MasterServer migration down to where the command will actually work as well as use a more syntactically correct statement --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d029ed93..5781c7b8 100644 --- a/README.md +++ b/README.md @@ -152,13 +152,6 @@ now follow the build section for your system ## Setting up the environment -### Database -Darkflame Universe utilizes a MySQL/MariaDB database for account and character information. - -Initial setup can vary drastically based on which operating system or distribution you are running; there are instructions out there for most setups, follow those and come back here when you have a database up and running. -* Create a database for Darkflame Universe to use -* Run the migrations by running `./MasterServer -m` to automatically run them - ### Resources **LEGO® Universe 1.10.64** @@ -202,6 +195,13 @@ certutil -hashfile SHA256 * Move and rename `cdclient.sqlite` into `build/res/CDServer.sqlite` * Run each SQL file in the order at which they appear [here](migrations/cdserver/) on the SQLite database +### Database +Darkflame Universe utilizes a MySQL/MariaDB database for account and character information. + +Initial setup can vary drastically based on which operating system or distribution you are running; there are instructions out there for most setups, follow those and come back here when you have a database up and running. +* Create a database for Darkflame Universe to use +* Use the command `./MasterServer -m` to automatically run them. + **Configuration** After the server has been built there should be four `ini` files in the build director: `authconfig.ini`, `chatconfig.ini`, `masterconfig.ini`, and `worldconfig.ini`. Go through them and fill in the database credentials and configure other settings if necessary.