Merge pull request #10 from RedSparr0w/patch-1

Add windows instructions for database
This commit is contained in:
Daniel Ginovker 2019-10-27 19:46:45 -04:00 committed by GitHub
commit 616c0dd7d2

View file

@ -26,11 +26,20 @@ At any point, if you need help, you are free to join our Discord server at: http
## Step 3: Setting up the Database
Since this portion of the guide is operating-system specific, you will either need basic database knowledge or a bit of help. Below are the things that need to be configured.
### General:
- Configure root@localhost to have a blank password
- Create a table in root named `server` and another named `global`
- Import `09HDscape-server/server.sql` and `09HDscape-server/global.sql` into their respective tables
- Start the database
### Windows:
- Download and install [xampp](https://www.apachefriends.org/download.html)
- Start the `Apache` and `MySQL` modules
- Navigate to http://localhost/phpmyadmin/
- Create 2 new tables named `server` and `global`
- Import `09HDscape-server/server.sql` and `09HDscape-server/global.sql` into their respective tables
- _Refer [here](https://www.thecodedeveloper.com/import-large-sql-files-xampp/) for help importing the `.sql` files_
## Step 4: Running the Server & Client
- Run the management-server
- In IntelliJ, navigate to `09HDscape-management-server/src/org/keldagrim/Main.java`, right click > Run