Invisible Battlefields game uses the SDDL software, part of the ContextNet project from PUC-Rio.
To install and run the servers for this game you will need an Ubuntu VM.
Doing this with Vagrant the installation can be pretty easy.
- First, install Virtualbox and Vagrant in your machine.
- Second, at the git clone directory, type:
vagrant up
Done, in a few minutes the VM should be running with all services installed.
- Vagrant allows you to easily destroy and recreate a VM.
When recreated, the VM will be totally reconfigured:
vagrant status vagrant destroy vagrant up vagrant reload vagrant provision
- Note: This VM is designated to code execution only, not to the development process. So, do not edit any files through the VM, use it only as a headless server (no GUI) to run the Gateway, Core Server and Web Server.
As a shared directory for files exchange between the host and the VM remember that the git clone directory is mapped to the VM /vagrant directory. The git clone root directory is the local directory (host) and the /vagrant is the remote directory (VM).
- Accessing the VM:
vagrant ssh
- Using the aliases to run the services:
gateway registry-server-dev registry-server ibf-server-dev ibf-server
- The Registry Web Console interface will be accessible at:
http://ibf.vm or http://10.10.10.11
To contribute with this project and edit/visualize the source code in Eclipse you will need to run a script with the Play Framework that will prepare the git clone directory to be used in the Eclipse workspace.
- Inside the directory script, run eclipsify:
cd script ./eclipsify.sh
- If you need to install Java:
sudo script/java-dl.sh
The JAVA_HOME environment variable must be exported to Java version 7.
The PATH environment variable must give preference in load order to
export JAVA_HOME="/opt/java" export PATH="$JAVA_HOME/bin:$PATH"
It is recommended that when importing the project to workspace you do not copy (do not check the copy option) so any git update can be immediately reflected into your Eclipse environment.
- André Mac Dowell <adowell@inf.puc-rio.br>
- Ivan Xavier Araújo de Lima <ilima@inf.puc-rio.br>
- Rogério Carvalho Schneider <rschneider@inf.puc-rio.br>
- Markus Endler <endler@inf.puc-rio.br>