fix
This commit is contained in:
parent
749320dfca
commit
a01ebbf61f
@ -89,13 +89,13 @@ Until the web interface allow it here are usefull process to:
|
||||
|
||||
* create an empty tribe call tribename
|
||||
```
|
||||
run . setup.sh tribename newtribe
|
||||
cd .. && . setup.sh tribename newtribe
|
||||
```
|
||||
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.
|
||||
```
|
||||
. setup.sh smatchit https://testwall-ants.ndda.fr https://gitea.ndda.fr/smatchit/smatchit
|
||||
cd .. && . setup.sh smatchit https://testwall-ants.ndda.fr https://gitea.ndda.fr/smatchit/smatchit
|
||||
```
|
||||
|
||||
If you want to contribute fixing bug, add new features in adminapi please push in your branch and send an email to support@need-data.com.
|
||||
|
@ -20,8 +20,6 @@ apxtri.main = async () => {
|
||||
);
|
||||
process.exit(0);
|
||||
}
|
||||
console.log("rrrrrrrrrrrrrrrrrrr")
|
||||
console.log(path.resolve("../adminapi/objects/tribes/idx/tribes_dns.json"))
|
||||
//Check prerequest data
|
||||
if (
|
||||
fs.existsSync("../adminapi/objects/tribes/idx/tribes_dns.json") &&
|
||||
@ -41,7 +39,7 @@ apxtri.main = async () => {
|
||||
.forEach(async (t) => {
|
||||
const tribe = path.basename(t);
|
||||
//console.log(tribe);
|
||||
if (!tribesdns[tribe]) {
|
||||
if (![".",".."].includes(tribe) && !tribesdns[tribe]) {
|
||||
await apxtri.setuptribe(tribe, conf);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user