Installation
Version 0.2 ∙ 1 minute read
Create new Osm Admin projects quickly using this step-by-step guide:
Add Osm Admin package using Composer, and re-run the installation script (on Windows, run installation commands one by one instead):
composer require osmphp/admin:v0.1.x-dev@dev
Add all Osm Admin modules as a dependency in
src/Base/Module.php
file:... class Module extends BaseModule { ... public static array $requires = [ ... \Osm\Admin\All\Module::class, ]; }
Create a MySql database, and configure MySql and ElasticSearch connections, or use other database/search engines.
Re-run the installation script (on Windows, run installation commands one by one instead):
bash bin/install.sh
Create initial database tables:
osm migrate:up --fresh osm migrate:schema
That's it!