-
Notifications
You must be signed in to change notification settings - Fork 3
Installation Procedure
Travis Rowland edited this page Jun 6, 2015
·
31 revisions
The following installation instructions are not production-ready, please ensure proper security configurations before setting this up in a production environment. Dynamictivity is not responsible for any loss due to negligence, security is your responsibility and is not covered in the scope of this documentation.
- Install XAMPP https://www.apachefriends.org/download.html
- (Optional) Uncheck the following options from "Components" during XAMPP installation:
- FileZilla FTP Server
- Mercury Mail Server
- Tomcat
- Perl
- Webalizer
- Use default settings (C:\xampp)
- (Optional) Uncheck the following options from "Components" during XAMPP installation:
- Open the XAMPP Control Panel and start Apache and MySQL
- Create your database: hecpanel
- Import the hse.sql into your new database:
C:\xampp\htdocs\hecpanel\app\Config\Schema\hse.sql
- Install Steam http://store.steampowered.com/
- Install Space Engineers http://store.steampowered.com/app/244850/
- Install HEcPanel
- Download HEcPanel https://github.com/Dynamictivity/hecpanel
- Extract to
C:\xampp\htdocs\hecpanel - Copy
C:\xampp\htdocs\hecpanel\app\tmp-skeltoC:\xampp\htdocs\hecpanel\app\tmp - Copy
C:\xampp\htdocs\hecpanel\app\Config\database.php.defaulttoC:\xampp\htdocs\hecpanel\app\Config\database.phpSee Appendix A for a basic example.- Use this guide to setup the database configuration: http://book.cakephp.org/2.0/en/development/configuration.html
- Copy
C:\xampp\htdocs\hecpanel\app\Config\email.php.defaulttoC:\xampp\htdocs\hecpanel\app\Config\email.php- Use this guide to setup the email configuration: http://book.cakephp.org/2.0/en/core-utility-libraries/email.html#configuration
- Copy
C:\xampp\htdocs\hecpanel\app\Config\hecpanelconfig.php.defaulttoC:\xampp\htdocs\hecpanel\app\Config\hecpanelconfig.php- Adjust the values in hecpanelconfig.php to your liking.
- Create a new folder
C:\SERVER - Create a new folder
C:\SERVER\BACKUPS - Create a new folder
C:\SERVER\BACKUPS\DEV - Create a new folder
C:\SERVER\INSTANCES - Create a new folder
C:\SERVER\INSTANCES\DEV - Create a new folder
C:\SERVER\LIBS - Create a new folder
C:\SERVER\LIBS\DEV - Copy the contents of
C:\xampp\htdocs\hecpanel\app\Config\SKELtoC:\SERVER\LIBS\DEV
- Log-in to
http://localhost/hecpanel/admin/instances/host_serversusing the following username/password:hecadmin/hecadmin - Proceed to "Instances -> Host Servers" and click on "Add New".
- From a command prompt on the host system, type the following to retrieve your "Servername":
hostname - Input that hostname into the "Servername" field in the form.
- Input
localhostinto the form for "Hostname". - Input the address
127.0.0.1in to the "IP Address" field of the form. - Click on "Submit"
- Open up
C:\xampp\htdocs\hecpanel\app\Console\cake.phpand uncomment this line://ini_set('include_path', $root . PATH_SEPARATOR . 'C:' . DS . 'xampp' . DS . 'htdocs' . DS . 'hecpanel' . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path')); - Proceed to
C:\SERVER\LIBS\DEV\SERVER_SCRIPTSon the command-line and executecron.batCompare your results with Appendix B - Proceed to "Instances -> Command Queue" and click on "Add New".
- Select the "Command":
[checkForUpdates] Check for Space Engineers updates - Select the "Host Server":
localhost - Ensure that "Enabled" is
checked. - Click on "Submit".
- Proceed to
C:\SERVER\LIBS\DEV\SERVER_SCRIPTSon the command-line and executecron.batYou should see a bunch of files being copied, if not, please double-check all paths, folder creations and Steam/Space Engineers installation.
- Use "Windows Task Scheduler" or another cron-tool of your choice to automatically call
C:\SERVER\LIBS\DEV\SERVER_SCRIPTS\cron.batevery minute.
- Proceed to "Instances -> List Instances" and click on "Add New".
- Put anything you like for the "Name" and click on "Submit"
- You will receive an error "Unknown email configuration "mandrill". This is a known issue.
- Go back to the "Instance List" and click on the "Start" button.
- Join and play on the server to verify it is working, IP and port information are displayed in the "Instance List".
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => '',
'database' => 'hecpanel',
'prefix' => '',
//'encoding' => 'utf8',
);
Welcome to CakePHP v2.6.4 Console
---------------------------------------------------------------
App : app
Path: C:\xampp\htdocs\hecpanel\app\
---------------------------------------------------------------
\app\Plugin\Instances\Console\Command\SeServerShell.php (line 388)
########## DEBUG ##########
array(
(int) 0 => 'Get queued commands:',
(int) 1 => array()
)
###########################
\app\Plugin\Instances\Console\Command\SeServerShell.php (line 388)
########## DEBUG ##########
array(
(int) 0 => 'Execute commands:',
(int) 1 => array()
)
###########################
\app\Plugin\Instances\Console\Command\SeServerShell.php (line 388)
########## DEBUG ##########
array(
(int) 0 => 'Mark commands as executed:',
(int) 1 => array()
)
###########################
\app\Plugin\Instances\Console\Command\SeServerShell.php (line 388)
########## DEBUG ##########
array(
(int) 0 => 'Disable non-recurring commands:',
(int) 1 => array()
)
###########################
\app\Plugin\Instances\Console\Command\SeServerShell.php (line 388)
########## DEBUG ##########
array(
(int) 0 => 'Cron completed.'
)
###########################