Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,27 @@ ArkhamDB

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

## Pre-requisites

- PHP (version: ~7)
- Composer (version: 1)
- Various extra PHP modules, such as:
- php-curl
- pdo-mysql
- mysqli
- mysqlnd
- zlib
- MySQL (or MariaDB)


## Install

- install composer: https://getcomposer.org/download/
- clone the repo somewhere
- cd to it
- NOTE: use version 1.10.26 (the last release of version 1), using `php composer-setup.php --version=1.10.26`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the PR/issue/..., as I've been struggling with the same issues! ;)
Instead of --version=1.10.26, you can use --1 though I doubt they'll ever make a new Composer 1 release.

- Git clone the repo & `cd` to it
- run `composer install` (at the end it will ask for the database configuration parameters)
- run `php bin/console doctrine:database:create`
- run `php bin/console doctrine:schema:create`
- checkout the card data from https://github.com/Kamalisk/arkhamdb-json-data
- run `php bin/console app:import:std path-to-arkhamdb-json-data/` pointing to where you checked out the json data
- Git clone the card data from https://github.com/Kamalisk/arkhamdb-json-data
- run `php bin/console app:import:std path-to-arkhamdb-json-data/` pointing to where you cloned the json data (can be a relative path)
- run `php bin/console server:run`