Khanat server in a docker container.
Find a file
2018-04-19 16:28:03 +02:00
builder update script to build localy (on docker for debian strech) 2018-04-19 15:55:56 +02:00
server update script mysql (to manage debian 8 or 9) 2018-04-05 22:34:26 +02:00
.dockerignore adding script to build & generate docker image 2017-11-21 22:10:28 +01:00
.gitignore adding script to build & generate docker image 2017-11-21 22:10:28 +01:00
.gitlab-ci.yml extract pymanager 2018-04-19 16:28:03 +02:00
build_all.sh update readme & update message 2017-11-22 21:13:50 +01:00
LICENSE adding script to build & generate docker image 2017-11-21 22:10:28 +01:00
README.md update readme & update message 2017-11-22 21:13:50 +01:00

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-server-docker.git
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 : build/opennel/builder_debian_jessie_x86_64/ryzomcore-*.tar.gz

log build : build/opennel/builder_debian_jessie_x86_64/build.log

all file generated on build : build/opennel/builder_debian_jessie_x86_64/

COMPIL SERVER and START

Compil server :

(prepare server / initialize khanat / database / patch)

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)

server/debian/jessie/x86_64/server.sh 

Connect server with ssh (only if server is started)

server/debian/jessie/x86_64/server.sh --ssh

BUILD ALL

To generate all architectures and all debian release (build & generate server)

build_all.sh

DOCKER

List image

docker images

List container

docker ps -a

Remove container

docker rm <Container ID>

Remove image

docker rmi <Image ID>

Launch container

Launch bash command (if you exist on your command, it stop your container)

docker run -it <Image ID or name> /bin/bash

Save image

docker save -o image.tar <Image ID>

Load image

docker load --input image.tar