Updated Development Server Setup (markdown)

Chris Miles
2018-01-15 00:07:47 -06:00
parent 451b2bf5da
commit 20a60a4675
+46 -2
@@ -1,4 +1,5 @@
* As a developer - you may find the necessity to build a clean server/folder with the latest PEQ database without messing up an existing folder - today this is easy to do and applies for either Linux or Windows * As a developer - you may find the necessity to build a clean server/folder with the latest PEQ database without messing up an existing folder - today this is easy to do and applies for either Linux or Windows
* **This assumes you have Perl / MySQL and the rest of the environment already installed**
### Creating a New Folder ### Creating a New Folder
@@ -18,7 +19,7 @@ cd eqemu_test
* You can use curl, wget or manually create the file * You can use curl, wget or manually create the file
> curl -O https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/eqemu_server.pl eqemu_server.pl && chmod 755 eqemu_server.pl && ./eqemu_server.pl new_server > curl -O https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/eqemu_server.pl eqemu_server.pl && chmod 755 eqemu_server.pl && ./eqemu_server.pl new_server
> wget --no-check-certificate https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/eqemu_server.pl -O eqemu_server.pl && chmod 755 eqemu_server.pl && ./eqemu_server.pl new_server > wget --no-check-certificate --cache=no https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/eqemu_server.pl -O eqemu_server.pl && chmod 755 eqemu_server.pl && ./eqemu_server.pl new_server
### Setting Environment Parameters ### Setting Environment Parameters
@@ -40,4 +41,47 @@ cd eqemu_test
* Next, this is going to kick off installer routines - and build the source in the following directory: * Next, this is going to kick off installer routines - and build the source in the following directory:
* **/home/eqemu/eqemu_test**_source/Server/build * **/home/eqemu/eqemu_test**_source/Server/build
* When this is done compiling, the folder you created will by symlinked to this custom build directory * When this is done compiling, the folder you created will by symlinked to this custom build directory
* Once complete, you will see installation summary info presented to you
```
[New Server] New server folder install complete
[New Server] Below is your installation info:
[Install] Installation complete...
[Install] Server Info (Save somewhere if needed):
- mysql_eqemu_db_name peq_new
- mysql_eqemu_user eqemu
- mysql_eqemu_password eqemu
[Install] Linux Utility Scripts:
- server_start.sh Starts EQEmu server (Quiet) with 30 dynamic zones, UCS & Queryserv, dynamic zones
- server_start_dev.sh Starts EQEmu server with 10 dynamic zones, UCS & Queryserv, dynamic zones all verbose
- server_stop.sh Stops EQEmu Server (No warning)
- server_status.sh Prints the status of the EQEmu Server processes
[Configure] eqemu_config.json Edit to change server settings and name
```
* Type **exit** out of the menu and return back to the prompt
### Server Start Test
* If necessary, return back to your original folder and start your respective start script whether you are in Windows or Linux, in Linux we will use ./server_start.sh
```
root@debian:/home/eqemu/eqemu_test# ./server_start.sh
[Status] Loading items...
[Status] Loading factions...
[Status] Loading loot...
[Status] Loading skill caps...
[Status] Loading spells...
[Status] Loading base data...
Server started - use server_status.sh to check server status
root@debian:/home/eqemu/eqemu_test#
Akka's Linux Server Launcher
Zones to launch: 30
root@debian:/home/eqemu/eqemu_test# ./server_status.sh
Akka's Linux Server Launcher
World: UP Zones: (30/30) UCS: UP Queryserv: UP
```
That's it!
Your new server parition should be ready for you to use and manipulate however you need