From e66e92cae30491af8cc2250095c7f4f098e9f53e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 2 Aug 2017 15:36:28 -0600 Subject: [PATCH] Update README.md --- README.md | 52 +++++++++------------------------------------------- 1 file changed, 9 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index a0db7dc..d22b0ce 100644 --- a/README.md +++ b/README.md @@ -46,48 +46,21 @@ Application Features * Multi-Tentated Application Management * Built-in OAuth2 & OAuth3 support -Install -------- +Installation +------------ -```bash -curl https://daplie.me/install-scripts | bash - -daplie-install-walnut -``` - -You could also, of course, try installing from the repository directly -(especially if you have goldilocks or some similar already installed) - -```bash -mkdir -p /srv/walnut/ -git clone git@git.daplie.com:Daplie/walnut.js.git /srv/walnut/core -pushd /srv/walnut/core - git checkout v1 -popd -bash /srv/walnut/core/install-helper.sh -``` - -Initial Configuration -------------- - -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": "'$PRIMARY_DOMAIN'" }' -``` +See [INSTALL.md](https://git.daplie.com/Daplie/walnut.js/blob/master/INSTALL.md) API --- API docs are here https://git.daplie.com/Daplie/com.example.hello + +``` +req.apiUrlPrefix => https://api.example.com/api/tld.domain.pkg +``` + Structure ===== @@ -302,11 +275,4 @@ The permissions: ''' seed@example.com # refers to /srv/walnut/packages/pages/seed@example.com ''' -``` - -API ---- - -``` -req.apiUrlPrefix => https://api.example.com/api/tld.domain.pkg -``` +``` \ No newline at end of file