Skip to content

fafranco82/swdestinydb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.