Set up Grav 2.0 with Admin #4273
|
I was following https://learn.getgrav.org/20/basics/installation and have troubles to set up Grav 2.0, but don't know how to set up Admin. I've used First the zip extension was missing, so it just downloaded some old Grav 1.0 version. After figuring this out, I started over and Grav 2.0 was installed. Now I try to figure out, what is the way to set up the Admin UI. I've figured out that with It feels like the whole documentation is a mix between old Grav 1.0 and Grav 2.0 and the newer parts are just generated.
Is this really the case? What is the right way to install admin? |
Replies: 1 comment 5 replies
|
Hey, sorry for the rough ride. Short answer first, then the three things you found that were genuinely broken on our end, all of which are now fixed. Installing admin on Grav 2.0Grav 2.0 replaced the old monolithic admin plugin with two plugins: cd ~/webroot/grav
bin/gpm install admin2GPM resolves the whole chain for you (api, then login, form, email, shortcode-core) and prompts once to install the dependencies. Say yes. When it finishes, open If you would rather not install anything separately, https://getgrav.org/download/core/grav-admin/latest is core with
|

Hey, sorry for the rough ride. Short answer first, then the three things you found that were genuinely broken on our end, all of which are now fixed.
Installing admin on Grav 2.0
Grav 2.0 replaced the old monolithic admin plugin with two plugins:
api(the REST backend) andadmin2(the SPA that talks to it, branded Admin Next).admin2declaresapias a dependency, so one command gets you everything:GPM resolves the whole chain for you (api, then login, form, email, shortcode-core) and prompts once to install the dependencies. Say yes. When it finishes, open
https://yoursite/admin. Admin Next serves on the same/adminroute the classic admin used, a…