This commit is contained in:
2024-04-03 08:58:02 +02:00
parent 81917cedaf
commit 0a7cd6c12f
5 changed files with 45 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ Towns.create = () => {
`${conf.dirapi}/adminapi/www/adminapx/initconf.json`
);
// Synchronize nationchains/
const { updateobjectsfromfreshesttown } = require("./api/models/Nations.js");
const { updateobjectsfromfreshesttown } = require("./apxtri/models/Nations.js");
updateobjectsfromfreshesttown(initconf.towns, {
pagans: "alias_all.json",
towns: "townId_all.json",

View File

@@ -22,7 +22,7 @@ see man adduser and file reference call skelet directory to set an env for apxtr
accessible by tribename/password
then add group group me to phil to allow phil to ate a symlink /dirtown/tribes/tribename => to /home/tribename
At each reboot run a process to analyse /api/routes and api/models whre only js can be exexuted are safe (only write data into /home/tribename, never outside)
At each reboot run a process to analyse /apxtri/routes and api/models whre only js can be exexuted are safe (only write data into /home/tribename, never outside)
1- Create a user in linux with $ sudo useradd smatchit
2 => this create a user:group and a folder smatchit in /home/phil/dirtown/tribes/