Skip to content

Fresh install

Jan Kozak edited this page Nov 16, 2018 · 2 revisions

Mautic clear install

composer install
change local.php to what I need
php app/console doctrine:database:create
php app/console doctrine:schema:create
php app/console doctrine:fixtures:load --fixtures=app/bundles/InstallBundle/InstallFixtures/ORM/LeadFieldData.php --fixtures=app/bundles/InstallBundle/InstallFixtures/ORM/LoadReportData.php --fixtures=app/bundles/InstallBundle/InstallFixtures/ORM/RoleData.php
php app/console doctrine:migrations:version --add --all   

mysql into database and insert user

INSERT INTO `users`
(`id`,
`role_id`,
`is_published`,
`username`,
`password`,
`first_name`,
`last_name`,
`email`,
`preferences`)
VALUES
(1,
1,
1,
'admin',
'$2y$12$IbAbwcoyzcw.WHuEHoRxd.gQXn4j1.wpITZOnxFaqZiLytQ6Vyh96',
'Automated',
'User',
'[email protected]',
'a:0:{}'
);

password is secret

Clone this wiki locally