Instructions docker local development setup. Open your favorite Terminal and run these commands.
$ docker network create devbox
$ docker network create mysql
protected function _convertDate($date, $from_utc = 'UTC', $to_utc = 'Europe/Berlin') { | |
$to_date = DateTime::createFromFormat( | |
'Y-m-d H:i:s', | |
$date, | |
new DateTimeZone($from_utc) | |
); | |
$to_date->setTimeZone(new DateTimeZone($to_utc)); | |
return $to_date->format('Y-m-d H:i:s'); | |
} |
// user: admin, password: qwerty1 | |
UPDATE admin_user SET password=CONCAT(MD5('qXqwerty1'), ':qX') WHERE username='admin'; |