removing setup model replace into apxtrib.js argv

This commit is contained in:
2023-06-01 07:30:05 +02:00
parent 908daaa8d3
commit c84a8c5aef
6 changed files with 32 additions and 551 deletions

View File

@@ -34,8 +34,13 @@ proxy_pass http://localhost:{{{api.port}}};
proxy_redirect off;
include proxy_params;
}
#to add htpasswd install apache2-utils => sudo htpasswd -c dirtown/tribes/tribeId/.htpasswd loginname passwd see man for option
location / {
{{#nginx.private}}
auth_basic "Mot de passe {{nginx.privatelogin}}";
auth_basic_user_file {{dirtown}}/tribes/{{tribeId}}/.htpasswd;
{{/nginx.private}}
root {{{nginx.fswww}}}/{{{nginx.website}}};
index index.html {{{nginx.pageindex}}};
}

View File

@@ -12,6 +12,7 @@
<li> install process made http://devfarm-ants available on your machine the /adminapi/www/adminapx/index_en.html to manage this dev town</li>
<li>if not working, check that your /etc/hosts contain 127.0.0.1 devfarm-ants</li>
<li>start the api in apxtrib folder $ yarn dev to allow manager adminapx to act on this trib</li>
<li>Restart nginx: sudo systemctl restart nginx</li>
</ul>
<p>Then you can dev in apxtrib to send your release to the project leader.</p>
<p>You can dev some app as a tribe level into /devfarm-ants see menu Mayor's Town/Manage Tribes to create a dev tribe. You can unzip a tribe into a folder for debuging or dev with real backup data.</p>
@@ -38,7 +39,6 @@
<button class="btn btn-outline-secondary" type="button" id="button-chgown">Give him the role on this town</button>
</div>
{{/devtown}}
{{/owner}}
</div>