Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

No CLI, is Grav still good for shared hosting?

Started by Josh Rollins 9 years ago · 5 replies · 1718 views
9 years ago

This is theme-centred question, but it's general support I believe, which is why it's here.

I think I might have chosen the wrong CMS. In each theme, including the manual, Grav includes CLI options for installation, and (must have passed it?) Doesn't include the built-in option for installing a theme, from inside the theme options inside the Grav GUI. When I install a theme from there, it installs, but doesn't seem to take affect appropriately, because the look of the site doesn't really change.

Now I'm not afraid of CLI and even some coding. I work with commands both at work and at home, in Windows, MacOS, and Windows. But when I picked up a site (shared hosting) I was under the impression I need php based plan and that's it - you know, of it can run WordPress, it should be able to run Grav.

I don't understand. How do you change a theme on a "common" shared hosting plan that doesn't include CLI? Where is it documented? Why doesn't the manual cover it? What's going on.

I'm a bit shaken, but I'll be more than happy to learn and start somewhere. Grav looks great, but it feels like I need a manual before I need the manual. Can someone point me in the right direction, please?

9 years ago

Well the CLI is not doing any "magic", it only changes some files, maybe adds some files too. You could of course change them manually. Or even better develop the site on your local computer and the just upload it all to webserver through ftp. All configurations will be transfered. The configs are in /user/config btw

9 years ago

While Grav can be used without a CLI, it's really handy to have. Especially if you run into problems or mess things up. Frankly, if I were forced to use a hosting provider that didn't have a CLI, I would do ALL development and even updates on another machine and simply sync my changes to the live site using Git, or FTP sync or something similar. But that's just me, I like having complete control over my site, and frankly don't like jumping through hoops on a remote system to do something that is very simple on a local setup.

8 years ago

I actually found out the same about my webhosting - ssh is possible, but not using Grav CLI Command line support (php seems to be the problem here). Should I better decide now for a different CMS or should I just go along with diving into GRAV and develop everything on the local machine?

I was about to work through the theme tutorial https://learn.getgrav.org/themes/theme-tutorial, where it says

For this next step you really do need to be in the command line as the DevTools provide a couple of CLI commands to make the process of creating a new theme much easier!

So what would you recommend?

8 years ago

I have been playing with it on my shared hosting @ Krystal. They allow jailed ssh access and I had no problems.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 56 13 hours ago
Support · by Anna, 3 days ago
2 61 16 hours ago
Support · by Justin Young, 17 hours ago
1 32 17 hours ago
Support · by Duc , 1 week ago
2 66 5 days ago
Support · by Colin Hume, 1 week ago
2 59 5 days ago