From 029f942ecd8d2a1033a4034ed7a126613241091b Mon Sep 17 00:00:00 2001 From: philc Date: Wed, 27 Nov 2024 17:02:48 +0100 Subject: [PATCH] fix setup --- README.md | 4 ++-- apxtri/apxtri.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4d977c1..18f5065 100644 --- a/README.md +++ b/README.md @@ -95,9 +95,9 @@ Until the web interface allow it here are usefull process to: ``` This will create a new tribe that you can manage in http://admin.tribename.dev.ants (a standard .giitignore is generate ready if you want to version your code in apxtri) -* To add a new tribe from an existing tribe host in app1.smatchit.io, we want set a dev env from git repo named smatchit with data that come from app1.smatchit.io the last night. To get data you must have the access_code to access backup (request to admin of smatchit). +* To add a new tribe from an existing tribe host in app1.smatchit.io, we want set a dev env from git repo named smatchit with data that come from admin.smatchit.io the last night. To get data you must have the access_code to access backup (request to admin of smatchit to replace 1234). ``` - cd .. && . setup.sh smatchit https://app.smatchit.io https://gitea.ndda.fr/smatchit/smatchit + cd .. && . setup.sh smatchit https://admin.smatchit.io https://gitea.ndda.fr/smatchit/smatchit 1234 ``` To conf a new website * Update in adminapi/objects/tribes/itm/tribename.json add domaine name in dns diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index 87bc65f..f6b7246 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -164,7 +164,7 @@ apxtri.setuptribe = async (tribe, conf) => { fs.outputFileSync( "/etc/nginx/nginx.conf", Mustache.render(nginxmain, inittribe), - { adAdmin: true } + { asAdmin: true } ); } // add conf for http://adminapx.adminapi