fix setup

This commit is contained in:
philc 2024-11-27 17:02:48 +01:00
parent a94174e94a
commit 029f942ecd
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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