Merge readonlyRootfs and development mode into debug mode

The core issue we want to solve is to debug a running app.
Let's make it explicit that it is in debugging mode because
functions like update/backup/restore don't work.

Part of #171
This commit is contained in:
Girish Ramakrishnan
2017-01-20 05:48:25 -08:00
parent e437671baf
commit db6474ef2a
9 changed files with 41 additions and 59 deletions

View File

@@ -118,8 +118,7 @@ Request:
key: <string>, // pem encoded TLS key
memoryLimit: <number>, // memory constraint in bytes
altDomain: <string>, // alternate domain from which this app can be reached
xFrameOptions: <string>, // set X-Frame-Options header, to control which websites can embed this app
readonlyRootfs: <boolean> // whether the app's rootfs is readonly
xFrameOptions: <string> // set X-Frame-Options header, to control which websites can embed this app
}
```
@@ -154,9 +153,6 @@ If `altDomain` is set, the app can be accessed from `https://<altDomain>`.
`memoryLimit` is the maximum memory this app can use (in bytes) including swap. If set to 0, the app uses the `memoryLimit` value set in the manifest. If set to -1, the app gets unlimited memory.
If `readonlyRootfs` is false, then the app's rootfs can be modified post installation. This is useful for debugging as it allows the app's code to be modified post installation. Apps that have a readonly rootfs cannot
be updated to a newer version (because it is not safe to update them).
Read more about the options at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options).
Response (200):
@@ -470,8 +466,7 @@ Request:
key: <string>, // pem encoded TLS key
memoryLimit: <number>, // memory constraint in bytes
altDomain: <string>, // alternate domain from which this app can be reached
xFrameOptions: <string>, // set X-Frame-Options header, to control which websites can embed this app
readonlyRootfs: <boolean> // whether the app's rootfs is readonly
xFrameOptions: <string> // set X-Frame-Options header, to control which websites can embed this app
```
All values are optional. See [Install app](/references/api.html#install-app) API for field descriptions.