Heroes of the Storm Simulator
Nexus Simulator is built on version 4 the CodeIgniter PHP framework. You will need to be sure your environment meets all the system requirements. Framework requirements may change but here is a good start:
- PHP 7.2 or newer
- PHP extensions (
php -m
): intl, json, mbstring, mysqlnd, xml, curl - You may also need a database with one of the framework's supported drivers
Framework requirements may depend on your choice of web host. See "Hosting with ..." in the CodeIgniter User Guide.
You will also need Composer to install and manage dependencies.
- Clone or download the repo
- Rename env to .env, uncomment and fill
app.baseURL
- Install the framework, modules, and dependencies:
composer install
The command line interface does not require a database, but if you want to use the web interface there are some additional steps to configure a database.
- Fill in
database.*
in your .env file (skip if using default SQLite3) - Migrate the database:
php spark migrate -all
- Seed the database:
php spark db:seed InitialSeeder
Point the web server to the public directory in the project root. For development you can serve it locally (docs):
php spark serve
You can also interface with the Command Line Interface using spark
, e.g.:
php spark simulate