Generate appconfigid manually

Questions and discussions about Indie Computing's UBOSbox
Post Reply
criky
Posts: 54
Joined: Fri Jul 05, 2019 4:24 am

Generate appconfigid manually

Post by criky »

Hi,
As you know, appconfigid(a...) is usually required to make a Site JSON and install an app on it.
Normal process for generating site json file via createsite has no problem, since UBOS will do it automatically.

But what if adding an additional app to the existing site by editing Site JSON file?

This automatic process is still vaild while user add additonal app to the appcofig or it needs to be specified by the user?



j12t
Posts: 144
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: Generate appconfigid manually

Post by j12t »

You can leave it out, and specify --template in the deploy. This will cause UBOS to tolerate that some things (like the AppConfigId) is not specified, and auto-generate those it can.

criky
Posts: 54
Joined: Fri Jul 05, 2019 4:24 am

Re: Generate appconfigid manually

Post by criky »

OK, that way is much simpler than I used.
To be honest, I used the random string generator for creating 41 hex characters and it does work well when I put it in the Site JSON file.

Thanks. :D

Post Reply