Setup local server
- Clone the uniksim depot with the old_login branch : https://gypso@bitbucket.org/gypso/uniksim.git
- Run npm install in the main directory
- Install and run Xampp (Installation location (by default) -> C:\xampp )
- Make the <uniksimroot>/public folder the root of a php virtual host
- Add the next lines to C:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot <uniksimroot>/public
ServerName uniksimdev
ServerAlias www.uniksimdev
<Directory "<uniksimroot>/public">
Options All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
-
- Add the next lines to C:\windows\system32\drivers\etc\hosts
127.0.0.1 localhost
127.0.0.1 uniksimdev
1
;c\:xampp\phpto the end of Path variable string.
Run php composer.phar install in the main directory Start the Apache and the MySQL modules in the Xampp Control Panel Setup in phpMyAdmin- Open the Admin panel of the MySQL module in the Xampp Control Panel
- Create a new database named uniksim with the utf8_general_ci collation
- Within the SQL tab in the new database, setup the database structure by running the content of <uniksimroot>/uniksim_example.sql
- Get the current game version for the client in the constant table within the uniksim database in phpMyAdmin and add the folders builds/<client_version> in <uniksimroot>/public/
- Copy your Unity build to the <client_version> folder
Server debug configuration