From e78276267eaf07900632fd2a0d09cf33af777e07 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 31 Jul 2017 17:04:57 -0600 Subject: [PATCH] set primary domain --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd0798d..498cd76 100644 --- a/README.md +++ b/README.md @@ -70,15 +70,17 @@ bash /srv/walnut/core/install-helper.sh Initial Configuration ------------- -Once installed and started you can visit . +Once installed and started you can visit to configure the primary domain. + +You could also do this manually via curl: ```bash +PRIMARY_DOMAIN="example.com" + curl -X POST http://api.localhost.daplie.me:3000/api/walnut@daplie.com/init \ -H 'X-Forwarded-Proto: https' \ -H 'Content-Type: application/json' \ - -d '{ - "domain": "example.com" - }' + -d '{ "domain": "'$PRIMARY_DOMAIN'" }' ``` API