Greg’s Sandbox

Notes on Front-End Web Development

12 Feb modified: 3 years ago

Setup Grav CLI on Windows 10

grav cli gChambers

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…

Continue reading Setup Grav CLI on Windows 10 ...

04 Feb modified: 3 years ago

Re-Sync With Production Server

git cli

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.

camera girl

Continue reading Re-Sync With Production Server ...

18 Jan modified: 3 years ago

Useful GRAV CLI commands

grav cli gChambers

Watch SCSS folder for changes to: _custom.scss**

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. /c/MAMP/htdocs/gravBlog/user/themes/gregthemetwo Keep this terminal open th…

Continue reading Useful GRAV CLI commands ...