From 683e033c85eb1c2fd37ae732667aa13fbc73a403 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 2 Aug 2017 15:59:59 -0600 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 28b2d6b..b573007 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -65,7 +65,8 @@ The domains can be setup through the Daplie Desktop App or with daplie-tools Replace `foodevice` with whatever you like to call this device ```bash -my_device=$(hostname) # i.e. foodevice +# i.e. foodevice +my_device=$(hostname) # curl https://api.oauth3.org/api/tunnel@oauth3.org/checkip my_address=127.0.0.1 @@ -74,11 +75,13 @@ my_address=127.0.0.1 daplie devices:attach -d $my_device -n $my_domain -a $my_address # attach all other domains with same device/address -daplie devices:attach -d foodevice -n www.example.com -daplie devices:attach -d foodevice -n api.example.com -daplie devices:attach -d foodevice -n assets.example.com -daplie devices:attach -d foodevice -n cloud.example.com -daplie devices:attach -d foodevice -n api.cloud.example.com +daplie devices:attach -d $my_device -n provider.$my_domain +daplie devices:attach -d $my_device -n api.provider.$my_domain +daplie devices:attach -d $my_device -n www.$my_domain +daplie devices:attach -d $my_device -n api.$my_domain +daplie devices:attach -d $my_device -n assets.$my_domain +daplie devices:attach -d $my_device -n cloud.$my_domain +daplie devices:attach -d $my_device -n api.cloud.$my_domain ``` Initialization