mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
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
This commit is contained in:
parent
24dbd3944d
commit
ccb9f7c499
14
README.md
14
README.md
@ -152,13 +152,6 @@ now follow the build section for your system
|
|||||||
|
|
||||||
## Setting up the environment
|
## 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
|
### Resources
|
||||||
|
|
||||||
**LEGO® Universe 1.10.64**
|
**LEGO® Universe 1.10.64**
|
||||||
@ -202,6 +195,13 @@ certutil -hashfile <file> SHA256
|
|||||||
* Move and rename `cdclient.sqlite` into `build/res/CDServer.sqlite`
|
* 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
|
* 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**
|
**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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user