mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 21:40:27 -07:00
Merge pull request #10 from RedSparr0w/patch-1
Add windows instructions for database
This commit is contained in:
commit
616c0dd7d2
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue