adapt new setup
This commit is contained in:
parent
11f5470a57
commit
8f054981fa
@ -99,7 +99,12 @@ Until the web interface allow it here are usefull process to:
|
||||
```
|
||||
cd .. && . setup.sh smatchit https://testwall-ants.ndda.fr https://gitea.ndda.fr/smatchit/smatchit
|
||||
```
|
||||
Then conf website test domain and use sudo certbot --nginx -d domainename to get ssl
|
||||
To conf a new website
|
||||
* Update in adminapi/objects/tribes/itm/tribename.json add domaine name in dns
|
||||
* Create a folder in tribename/objects/wwws/itm/webname/src and /dist
|
||||
* from adminapi/apxtri/setup/nginx.wwwscf create file tribename/nginx/website.tribename.townname.nation.name.conf
|
||||
* add in tribename/objects/wwws/itm/websitename.json the localdb to send to front
|
||||
* Then conf website test domain and use sudo certbot --nginx -d domainename to get ssl and access in https
|
||||
|
||||
|
||||
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.
|
||||
|
@ -17,7 +17,7 @@ Wwws.initlocalwco=(tribwco,profils,lg)=>{
|
||||
|
||||
|
||||
Wwws.initlocaldata = (tribe, appname, pagename, version, profils, lg) => {
|
||||
const fileparam = `../../${tribe}/objects/wwws/itm/${appname}.json`;
|
||||
const fileparam = `../../../${tribe}/objects/wwws/itm/${appname}.json`;
|
||||
console.log(fileparam);
|
||||
if (!fs.existsSync(fileparam)) {
|
||||
return { status: 404, ref: "Wwws", msg: "appdoesnotexist", data: {} };
|
||||
|
Loading…
Reference in New Issue
Block a user