samuellinde / thronesdb

A Deckbuilder for A Game of Thrones 2nd ed LCG

Home Page:https://thronesdb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThronesDB

Very quick guide on how to install a local copy

This guide assumes you know how to use the command-line and that your machine has php and mysql installed.

  • install composer: https://getcomposer.org/download/
  • clone the repo somewhere
  • cd to it
  • run composer install (at the end it will ask for the database configuration parameters)
  • run php app/console doctrine:database:create
  • run php app/console doctrine:schema:create
  • run php app/console app:import:std ../thronesdb-json-data or whatever the path to your ThronesDB JSON data repository is
  • run php app/console app:import:trans ../thronesdb-json-data if you want to import the translations
  • run php app/console server:run

Setup an admin account

  • register
  • make sure your account is enabled (or run php app/console fos:user:activate <username>)
  • run php app/console fos:user:promote --super <username>

About

A Deckbuilder for A Game of Thrones 2nd ed LCG

https://thronesdb.com


Languages

Language:HTML 45.1%Language:PHP 39.4%Language:JavaScript 12.2%Language:CSS 3.0%Language:ApacheConf 0.3%Language:Shell 0.0%