modif setup

This commit is contained in:
2024-11-26 15:51:37 +01:00
parent 690c207fb9
commit 2328276a5a
2 changed files with 9 additions and 9 deletions

View File

@@ -75,9 +75,9 @@ $ mkdir ~/apxtowns # if it does not exist
# Following example dev is a town and ants is a nation (you can create an existing town localy but you won't be able to join the ants network if this towns already exist)
$ mkdir ~/apxtowns/dev-ants
$ cd ~/apxtowns/dev-ants
$ wget https://testwall-ants.ndda.fr/setup.sh
$ wget https://app1.smatchit.io/setup.sh
$ chmod +x setup.sh
$ . setup.sh adminapi https://testwall-ants.ndda.fr https://gitea.ndda.fr/apxtri/adminapi
$ . setup.sh adminapi https://app1.smatchit.io https://gitea.ndda.fr/apxtri/adminapi
```
Open http://admin.adminapi.dev.ants/index_en.html (**notice the dot instead of -** ) in your browser after installation. you are ready to dev in adminapi
@@ -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 testwall-ants.ndda.fr, we want set a dev env from git repo named smatchit with data that come from testwall-ants.ndda.fr the last night. To get data you must have the password to access backup.
* 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).
```
cd .. && . setup.sh smatchit https://testwall-ants.ndda.fr https://gitea.ndda.fr/smatchit/smatchit
cd .. && . setup.sh smatchit https://app.smatchit.io https://gitea.ndda.fr/smatchit/smatchit
```
To conf a new website
* Update in adminapi/objects/tribes/itm/tribename.json add domaine name in dns