From 11468adddcc2b5bbab374a1330f56c857b27562f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 1 Aug 2017 09:49:25 -0600 Subject: [PATCH] oops revert back to 'pages' --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 67eea64..2cfe92d 100644 --- a/README.md +++ b/README.md @@ -210,16 +210,16 @@ Deleting those files will rese Accessing static apps --------------------- -Static apps are stored in `var/sites` +Static apps are stored in `packages/pages` ``` # App ID as files with a list of packages they should load # note that '#' is used in place of '/' because files and folders may not contain '/' in their names -/srv/walnut/var/sites/ # https://domain.tld/path -/srv/walnut/var/sites/ # https://domain.tld and https://domain.tld/foo match +/srv/walnut/packages/pages/ # https://domain.tld/path +/srv/walnut/packages/pages/ # https://domain.tld and https://domain.tld/foo match -# packages are directories with reverse dns name # For the sake of debugging these packages can be accessed directly, without a site by -/srv/walnut/var/sites/ # matches apps./ and /apps/ +# packages are directories with email-style name # For the sake of debugging these packages can be accessed directly, without a site by +/srv/walnut/packages/pages/ # matches apps./ and /apps/ ``` Accessing REST APIs @@ -287,16 +287,19 @@ The permissions: ``` /srv/walnut/packages/ -├── client-api-grants -│ └── cloud.foobar.me -│ ''' -│ hello@example.com # refers to /srv/walnut/packages/rest/hello@example.com -│ ''' -│ +└── client-api-grants + └── cloud.foobar.me + ''' + hello@example.com # refers to /srv/walnut/packages/rest/hello@example.com + ''' +``` + +``` +/srv/walnut/var/ └── sites └── daplie.me ''' - seed@example.com # refers to /srv/walnut/var/sites/seed@example.com + seed@example.com # refers to /srv/walnut/packages/pages/seed@example.com ''' ```