Source code for a website that can help run HvZ (Humans vs Zombies games). It has support for clans, timed mission unlocks, a player voting system, antiviruses, and achievements (badges). Built using AngularJS, and Rails-API, it comes out of the box with a token-based API that one can use to build their own applications on devices (e.g. iOS/Android).
Necessary software:
- Vagrant 1.5+
- Vagrant provider (e.g. VirtualBox)
- Saltstack 0.17+
Steps:
-
Setup the VM.
vagrant up
-
Log into the VM.
vagrant ssh
-
Navigate to the shared VM folder.
cd /vagrant
-
Copy and edit the provided .env file
cp .env.example .env
-
Start the server processes.
foreman start
rsync has been enabled in the VM. Use vagrant rsync-auto
to edit files outside the VM.
The web server is accessible at localhost:3000
on the host machine.