Admittedly, I'm a newbie at CLI but I did get Grav CLI ALMOST working on Windows 10. Over many days I was able to muddle through. I say almost as there is seemingly one remaining sticking point: after “bin/grav new-project /C/MAMP/htdocs/my-new-project” I am unable to complete the process by install…
Often the production website gets out-of-sync with the Github repository (and dev site). This will typically happen during early stages of site development when files and folders are moved from one directory to the next as the site is being optimized. Changing folder location occurs quite a bit as the main menu is being built, modified or updated. Sync issues could also occur after a grav update via Admin Control Panel.
Watch SCSS folder for changes to:
A separate gitBash CLI needs to be opened from within the theme root directory, NOT the site root directory.
Open gitBash in the directory that contains the base scss folder.
Keep this terminal open th…
Issue Currently unable to do a fresh install of a grav instance via the CLI. Will need to pose a question in the forum asking for explicit instructions on using CLI with Windows.
All of the commands listed below are compatible with any operating system.
Code to be pasted into Git Bash for Setup and Usage of GitHub for Site Development
Open a SSH connection to remote s1nga server -- gravBlog
In git Bash:
$ ssh firstname.lastname@example.org
- Look up password for s1nga cPanel in LastPass
then (RIGHT CLICK) copy/paste password: *****UabuT2% This will op…