66 lines
1.8 KiB
Markdown
66 lines
1.8 KiB
Markdown
|
# khanat server docker
|
||
|
|
||
|
Khanat Server Docker is tool to build 'khanat-opennel-code' and emulate server side.
|
||
|
|
||
|
Khanat Server Docker is open source and released under the terms of the GNU Affero General Public License 3.0 (GNU/AGPLv3) for the source code and the Creative Commons Attributions-ShareAlike 3.0 (CC-BY-SA) for the art assets. Which means you can create your own game using Ryzom Core, for more information on doing so check out Creating Your Own Game Using Ryzom Core.
|
||
|
|
||
|
Modification par la Team Khaganat
|
||
|
|
||
|
## Install docker
|
||
|
|
||
|
Depend on your environment.
|
||
|
|
||
|
docker version
|
||
|
docker info
|
||
|
docker search debian
|
||
|
|
||
|
|
||
|
|
||
|
## Clone repo
|
||
|
|
||
|
git clone https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-opennel-code.git
|
||
|
git clone https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-client-data.git
|
||
|
git clone https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-ressources.git
|
||
|
git clone https://git.khaganat.net/khaganat/mmorpg_khanat/opennel-pymanager.git
|
||
|
|
||
|
## BUILD
|
||
|
(use docker)
|
||
|
|
||
|
|
||
|
### archi x64_86:
|
||
|
|
||
|
command :
|
||
|
|
||
|
./builder/debian/jessie/x86_64/build.sh -c -r -j 4 -a '-DWITH_SYMBOLS=ON' -m '-m 20g' -d
|
||
|
|
||
|
result:
|
||
|
|
||
|
package : ./code/build/builder_khanat_debian_jessie_x86_64/ryzomcore-*.tar.gz
|
||
|
|
||
|
log build : ./code/build/builder_khanat_debian_jessie_x86_64/build.log
|
||
|
|
||
|
all file generated on build : ./code/build/builder_khanat_debian_jessie_x86_64/
|
||
|
|
||
|
|
||
|
|
||
|
## COMPIL SERVER and START
|
||
|
|
||
|
Compil server :
|
||
|
|
||
|
(prepare server / initialize khanat / database / patch)
|
||
|
|
||
|
./dist/docker/server/debian/jessie/x86_64/server.sh -b -t -q -z -k -n
|
||
|
|
||
|
|
||
|
Start server :
|
||
|
|
||
|
(You need tape Enter when application ask to start server)
|
||
|
|
||
|
./dist/docker/server/debian/jessie/x86_64/server.sh
|
||
|
|
||
|
|
||
|
Connect server with ssh (only if server is started)
|
||
|
|
||
|
./dist/docker/server/debian/jessie/x86_64/server.sh --ssh
|
||
|
|