Greenmine/folders: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "Copied directly from code comment; needs minor updating, formating: <pre> FOLDER LAYOUT: Lines marked CANON are canonical; the rest are mainly as examples for clarity $h...")
 
No edit summary
Line 1: Line 1:
Copied directly from code comment; needs minor updating, formating:
Entries marked CANON are canonical/official sub-paths; the rest are mainly as examples for clarity.
<pre>
# <code>$home/public_html</code>
  FOLDER LAYOUT: Lines marked CANON are canonical; the rest are mainly as examples for clarity
## <code>index.php</code> - link to
    $home/public_html
## <code>$home/site</code>
    $home/site
### <code>$home/site/config</code>
      $home/site/config
#### <code>$home/site/config/greenmine</code>
        $home/site/config/greenmine
##### <code>$home/site/config/greenmine/portable</code> - CANON
          $home/site/config/greenmine/portable - CANON:
###### <code>$home/site/config/greenmine/portable/defaults.php</code> - CANON: THIS FILE (link to git version, or copy)
          $home/site/config/greenmine/portable/defaults.php - CANON: THIS FILE (link to git version, or copy)
###### <code>$home/site/config/greenmine/local</code> - CANON
          $home/site/config/greenmine/local/creds.php - CANON: database credentials, adapted from git/greenmine/config/examples/creds.php
###### <code>$home/site/config/greenmine/local/creds.php</code> - CANON: database credentials, adapted from git/greenmine/config/examples/creds.php
      $home/site/git
### <code>$home/site/git</code>
        $home/site/git/ferreteria
#### <code>$home/site/git/ferreteria</code> - [[ferreteria]] CANON
        $home/site/git/greenmine  - CANON
#### <code>$home/site/git/greenmine</code> - CANON
          $home/site/git/greenmine/config/portable - CANON: config files which (usually) can be used as-is
##### <code>$home/site/git/greenmine/config/</code> - CANON: greenmine site config folder
            $home/site/git/greenmine/config/portable/defaults.php - CANON: THIS FILE (git version)
###### <code>$home/site/git/greenmine/config/portable</code> - CANON: config files which (usually) can be used as-is
          $home/site/git/greenmine/config/examples - CANON: files which will need configuration for local instance
####### <code>$home/site/git/greenmine/config/portable/defaults.php</code> - CANON: default global values, and abstracts which need setting locally
            $home/site/git/greenmine/config/examples/creds.php - CANON: database credentials (to be configured)
###### <code>$home/site/git/greenmine/config/examples</code> - CANON: files which will need configuration for local instance
</pre>
####### <code>$home/site/git/greenmine/config/examples/creds.php</code> - CANON: database credentials (to be configured)

Revision as of 16:52, 8 November 2020

Entries marked CANON are canonical/official sub-paths; the rest are mainly as examples for clarity.

  1. $home/public_html
    1. index.php - link to
    2. $home/site
      1. $home/site/config
        1. $home/site/config/greenmine
          1. $home/site/config/greenmine/portable - CANON
            1. $home/site/config/greenmine/portable/defaults.php - CANON: THIS FILE (link to git version, or copy)
            2. $home/site/config/greenmine/local - CANON
            3. $home/site/config/greenmine/local/creds.php - CANON: database credentials, adapted from git/greenmine/config/examples/creds.php
      2. $home/site/git
        1. $home/site/git/ferreteria - ferreteria CANON
        2. $home/site/git/greenmine - CANON
          1. $home/site/git/greenmine/config/ - CANON: greenmine site config folder
            1. $home/site/git/greenmine/config/portable - CANON: config files which (usually) can be used as-is
              1. $home/site/git/greenmine/config/portable/defaults.php - CANON: default global values, and abstracts which need setting locally
            2. $home/site/git/greenmine/config/examples - CANON: files which will need configuration for local instance
              1. $home/site/git/greenmine/config/examples/creds.php - CANON: database credentials (to be configured)