how would I actually host my web zip standalone ? do I need Amazon S3 ? can I use another host ? could I do it locally ? what are the server requirements ? My data sources are REST API or client storage only.
My need is to be able to share a demo of my work to others.
Looks like you did manage to deploy a build that is running at that URL, but it’s a selector (AKA preview), so you need to choose standalone target for your app (this will be clarified next week in a release that cleans up Build Service UI – it’s been way needlessly confusing).
To host the app yourself, you just need a place that will serve the folder structure – it’s all static JS/CSS/HTML files. S3 is a common choice, but any server/service that allows the user to load index.html and then load all the other assets works.
Hi there, @Harri_Sarsa I managed to upload the build zip file I downloaded from the AG build service to my cPanel using File Manager, all the files are inside the public.html directory including the index.html file as seen on this screenshot:
I have however researched a lot about how to make it work, many, like this blog post, suggest that the package.json file should be edited with a home attribute that links to my domain name, this is the snapshot from the blog post regarding the home attribute:
But as you can see on my first screenshot, the build file from the AG build service did not come with a package.json file, the only JSON files are dolan.json and manifest.json, or is it the manifest.json I’m supposed to edit?
Thanks a lot, I’d very much appreciate some1 pointing me in the right direction!