- Card data sourced from swccg card json database.
- The
json files can not be loaded directly, they must be converted to the ThronesDB format.
git clone [email protected]:swccgpc/swccg-card-json.git
cd swccg-card-json
./make_swccgdb_json.py
./bin/console app:import:std ./swccg-card-json/swccgdb_json/
Start MariaDB server using Docker
docker run -d \
-p 3306:3306 \
--name mariadb \
-e MYSQL_ROOT_PASSWORD=swccgdb \
-e MYSQL_DATABASE=swccgdb \
-e MYSQL_USER=swccgdb_user \
-e MYSQL_PASSWORD=swccgdb \
-d mariadb:latest
composer install
# ./bin/console doctrine:database:create
./bin/console doctrine:schema:create
./bin/console app:import:std ../swccg-card-json/swccgdb_json/
./bin/console server:run
./bin/console cache:clear --env=prod --no-debug
./bin/console cache:warmup --env=prod --no-debug
./bin/console server:run --env=prod --no-debug