The world server for Darkan that integrates with the lobby server.
pacman -S git
on Unix)git clone git@github.com:DarkanRS/cache.git
git clone git@github.com:DarkanRS/world-server.git
git lfs pull
within the darkan-cache project to get the packed information data file.git clone git@github.com:DarkanRS/client.git
too if you don't want to use the client loader../gradlew run
within the darkan-world-server project.If using Eclipse to edit the projects, be sure to import them all as new Gradle projects.
If you don't know how to run a mongodb instance, running using these exact steps will allow you to run the world server without making any changes to the default config file:
Create a new folder called mongo
somewhere and create a mongod.conf
file with the following contents:
systemLog:
destination: file
path: "./mongod.log"
logAppend: true
net:
bindIp: "0.0.0.0"
port: 27017
storage:
dbPath: "./baserino/"
You can then create a start.sh
(Unix) or start.bat
(Windows) file and add the following command to it to easily start up the Mongo server whenever you want:
mongod --config ./mongod.conf
You may also need to create the baserino
data folder within that mongo
folder as well. I am not sure if MongoDB creates it automatically or not.