Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

alfg/zedhunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zedhunt

Zedhunt is a squad matchmaking platform for the zombie survival game, DayZ. The idea was inspired from DayZ LFG message boards such as http://www.reddit.com/r/DayZLFG and the UI of BattleLog to help survivors and bandits find and/or form groups.

Zedhunt Demo: http://zedhunt.com

##Installation##

Requires redis-server and mongodb to be installed.

Setting up zedhunt is simple, just follow the steps below:

  1. Register an API Key at Firebase

  2. Clone and install

$ git clone https://github.com/alfg/zedhunt.git
$ cd zedhunt
$ npm install
  1. Open config.js.sample and configure
config.web.sessionkey = 'super secret';
config.mongodb.host = 'mongodb://host/database';
config.redis.host = '127.0.0.1';
config.redis.port = 6379;
config.firebase.url = 'https://zombies.firebaseio.com';
config.firebase.token = 'secret token';
  1. Rename config.js.sample to config.js and run the app
$ mv config.js.sample config.js
$ node app.js

Load http://localhost:3000 into the browser

Sample nginx config

server {
    listen 80;

    server_name zedhunt.com;
    access_log /var/log/nginx/zedhunt.access.log;
    error_log /var/log/nginx/zedhunt.error.log;


    location / {
        proxy_pass         http://127.0.0.1:3000/;
        proxy_redirect     off;
        proxy_set_header   Host             $http_host;
        proxy_set_header   X-Real-IP        $remote_addr;
        proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;

        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}

License

zedhunt is open-source under the MIT License.

Credits

zedhunt uses the following technologies, check them out!

  • NodeJS The core backend
  • Express Web Framework for Node.
  • MongoDB NoSQL document database
  • Redis Simple key/value datastore
  • Firebase API to store and sync data in realtime

About

:goberserk: A squad matchmaking platform for DayZ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published