I just updated my sylius app. As per new commits, admin crud have been added. But I don't see it. Can someone share information about it?
I came across this issue earlier today as well. I upgraded my sylius install it introduced sylius_admin_user table, but it was empty.
To get around it, i commented out the following lines on the file /adsup/src/Sylius/Bundle/InstallerBundle/Command/SetupCommand.php
//$this->setupCurrency($input, $output);
//$this->setupLocale($input, $output);
//$this->setupChannel();
$this->setupAdministratorUser($input, $output);
Leave the last one uncommented. Then run sylius:install:setup fill in the details and you will have a new admin user. It's a bit of a hack until someone adds an Add Admin User to go along with the Add Shop User
Actually i have just added a pull request for an admin-user:create command
from the documentation:
If you want to try out new Sylius UI, please run the following commands:
$ npm install $ npm run gulp
I missed this a couple of times too and also wondered how to get the new admin...
btw, the url has changed from /administration to /admin - be careful about that too :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.