document how packages are accessed

This commit is contained in:
AJ ONeal 2017-05-19 07:45:41 +00:00
parent 9d157c12a2
commit 7159151352
1 changed files with 14 additions and 0 deletions

View File

@ -101,3 +101,17 @@ Once you run the app the initialization files will appear in these locations
``` ```
Deleting those files will rese Deleting those files will rese
Accessing static apps
---------------------
Static apps are stored in `packages/pages`
```
# App ID as files with a list of packages they should load
/srv/walnut/packages/pages/<domain.tld#path> # https://domain.tld/path
/srv/walnut/packages/pages/<domain.tld> # https://domain.tld and https://domain.tld/foo match
# packages are directories with reverse dns name # used for debugging
/srv/walnut/packages/pages/<tld.domain.package> # matches apps.<domain.tld>/<package-name> and <domain.tld>/apps/<package-name>
```