flowlep / znieh

Main repository containing all major services (frontend, api, gameserver)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Znieh Games

Customize your units like never before

Build Status

For issues, including feature requests, see the Issue Tracker.

See CONTRIBUTING.md for information on structure, documentation, and code conventions.

Development

git clone git@github.com:ZniehGames/znieh.git
git submodule update --init

It's recommended that you use the provided vagrant environment.

Inside the VM (vagrant ssh andcd /var/www/znieh), run the following commands:

  • composer install for symfony deps
  • npm install for gulp and Node.js deps
  • bower install for frontend deps
  • gulp to build
  • gulp watch to build & rebuild on changes

If you are experiencing issues with npm (EEXIST errors) see also the README of vagrant

  • npm install --no-bin-links

Using in production

You must generate your own SSH keys for JWT Authentification

openssl genrsa -out app/var/jwt/private.pem -aes256 4096
openssl rsa -pubout -in app/var/jwt/private.pem -out app/var/jwt/public.pem

Then modify SSH keys path and the pass phrase in app/config/parameters.yml according to your needs.

About

Main repository containing all major services (frontend, api, gameserver)

License:MIT License


Languages

Language:JavaScript 65.3%Language:PHP 30.6%Language:CSS 3.7%Language:Shell 0.3%Language:Ruby 0.0%