GithubHelp home page GithubHelp logo

stopfstedt / thronesdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thronesdb/thronesdb

0.0 1.0 0.0 45.98 MB

A Deckbuilder for A Game of Thrones 2nd Edition LCG.

Home Page: https://thronesdb.com

License: MIT License

PHP 38.87% CSS 2.63% JavaScript 14.17% Makefile 0.01% Twig 44.32%

thronesdb's Introduction

Build Status

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
  • install npm
  • install gulp
  • clone the data repository
  • clone this repo
  • cd to it
  • run composer install to install PHP dependencies
  • run npm install to install JS dependencies
  • copy the .env file to .env.local and modify its configuration settings to your needs
  • run php bin/console doctrine:database:create to create the database
  • run php bin/console doctrine:migrations:migrate to create the database schema
  • run php bin/console doctrine:fixtures:load --env=prod to load default application data
  • run php bin/console app:import:std ../throneteki-json-data or whatever the path to the data repository is to load cards and packs data
  • run php bin/console app:restrictions:import ../throneteki-json-data or whatever the path to the data repository is to load restricted lists
  • run php bin/console app:restrictions:activate to activate any restricted lists that apply
  • run php bin/console bazinga:js-translation:dump assets/js to export translation files for the frontend
  • run php bin/console fos:js-routing:dump --target=public/js/fos_js_routes.js to export routes for the frontend
  • run gulp to build web assets

Setup an admin account

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

thronesdb's People

Contributors

stopfstedt avatar alsciende avatar dependabot-preview[bot] avatar fafranco82 avatar dependabot[bot] avatar fiskhandlarn avatar ystros avatar q3c0 avatar zacchiro avatar davidagnome avatar fefeslon avatar ursdannenberg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.