Skip to content

Commit a958e93

Browse files
committed
doc: Avoid hardcoding fly app name
1 parent 5555424 commit a958e93

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,14 @@ obelisk component list
106106

107107
Now run `app-init` with a new fly app name:
108108
```sh
109-
just app-init "$(FLY_APP_NAME=inception ./scripts/json-app-init-itself.sh)"
109+
NEW_APP_NAME="inception-$(date +%s)"
110+
111+
just app-init "$(FLY_APP_NAME=$NEW_APP_NAME ./scripts/json-app-init-itself.sh)"
110112
```
111113

112114
Push the secret to the inner app:
113115
```sh
114-
FLY_APP_NAME=inception ./scripts/secrets-send.sh .envrc
116+
FLY_APP_NAME=$NEW_APP_NAME ./scripts/secrets-send.sh .envrc
115117
```
116118

117119
To access the web console, proxy the port 8080 as well.

0 commit comments

Comments
 (0)