Exploring Grav: A Flat-File CMS

12 Feb modified: 5 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: 5 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: 5 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 ...

15 Jan modified: 5 years ago

Official Grav CLI Cheatsheet

grav git cli Gregory Chambers | gChambers

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.

Grav Cheatsheet

All of the commands listed below are compatible with any operating system.

Command Description
bin

Continue reading Official Grav CLI Cheatsheet ...

06 Jan modified: 5 years ago

GitHub Code Notes — Remote Server

git cli Gregory Chambers | gChambers

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 s1ngaco@s1nga.com

  1. Look up password for s1nga cPanel in LastPass

then (RIGHT CLICK) copy/paste password: *****UabuT2% This will op…

Continue reading GitHub Code Notes — Remote Server ...