Update Wwws_project
parent
17cf701e92
commit
5a15b6d85e
@ -6,7 +6,8 @@ apXtri comes with a tailwindcss / daisyUi settings to allow developer to sales w
|
||||
## How it works ?
|
||||
|
||||
An app project is an item of object wwws, a web component (wco) is an item of object wco.<br>
|
||||
To make an app project on line a nginx conf must be set.
|
||||
To make an app project on line http://appname.tribename.townname.nationname/pagename_lg.html, nginx conf must be set in tribename/nginx/appname.tribename.townname.nationname.conf <br>
|
||||
Then the webapp can get context data with the endpoint http://appname.tribename.townname.nationname/api/adminapi/wwws/updatelocaldbanonymous/tribename/appname/pagename/versionnumber this will return in data a set of data parameter into tribename/objects/wwws/itm/appname.json
|
||||
|
||||
|
||||
In folder objects/wwws/appname/
|
||||
@ -26,7 +27,13 @@ tribename/objects/wwws/appname/src/tpldata/
|
||||
tribename/objects/wwws/appname/src/pagename_lg.html
|
||||
|
||||
tribename/objects/wwws/itm/appname.json // Contain all parameter
|
||||
|
||||
```
|
||||
|
||||
### 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user