kyledhebert / swdestinydb

Star Wars Destiny Deckbuilder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWDestinyDB

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/
  • install npm: https://www.npmjs.com/
  • clone the repo somewhere
  • cd to it
  • run npm install
  • 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 ../swdestinydb-json-data or whatever the path to your SWDestinyDB JSON data repository is
  • run php app/console app:import:trans ../swdestinydb-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>

Translating the site

The string literals of this site are hosted in Loco. If you want to translate the site, please contact project administrator via mail (webmaster@swdestinydb.com), asking for an invitation to the translation platform providing full name, an email and the language you are willing to translate into.

For the card data info, there is another project: swdestinydb-json-data. You can follow the instructions stated there to translate cards into the language you prefer.

About

Star Wars Destiny Deckbuilder


Languages

Language:JavaScript 47.8%Language:HTML 26.6%Language:PHP 23.0%Language:CSS 2.6%Language:Shell 0.0%