Update Wwws_project

philc 2025-01-28 09:11:07 +00:00
parent eb23d8ac02
commit d15c79cbd1

@ -30,10 +30,13 @@ tribename/objects/wwws/itm/appname.json // Contain all parameter
``` ```
## Setup ## Setup
Use tailwindcss is not mandatory to host a webapp, but this process automatize the web page creation based on reusable component, as well an authentification UI. If you prefer to use any other framework like react, react native, angular, vuejs ,... you will have to set localdb manually to make some backend data available.<br>
To set up a web page a list of file must be initialize, then dev works only in tribe/objects/wwws/appname/src and tribe/objects/wco/wconame to add any reusable web component. To set up a web page a list of file must be initialize, then dev works only in tribe/objects/wwws/appname/src and tribe/objects/wco/wconame to add any reusable web component.
The wco that manage exchange with apXtri is named apx it contain only adminapi/objects/wco/apx/apx.js that allow to update localdb (data context of a website) The wco that manage exchange with apXtri is named apx it contain only adminapi/objects/wco/apx/apx.js that allow to update localdb (data context of a website)
The wco that manage authentification is names apxid and allow to get accessright for a domain name. The wco that manage authentification is names apxid and allow to get accessright for a domain name.
In any case web page is available into /dist forlder
### nginx conf ### nginx conf
You can get an example in adminapi/apxtri/setup/nginx.wwwcf this will redirect the website to /appname/dist/ or you can access http://appname.tribename.townname.nationname/src/pagename_lg.html You can get an example in adminapi/apxtri/setup/nginx.wwwcf this will redirect the website to /appname/dist/ or you can access http://appname.tribename.townname.nationname/src/pagename_lg.html