While I understand that it is a prototyping tool am I wrong to believe that it can be deployed to Google Cloud Run? I have tried to write multiple different applications in Google AI Cloud and can’t get even the simplest app to deploy.
Is there a guide on how to do this? I imagine that people on this forum have actually deployed their apps?
I actually deployed apps to my own web server. All you have to do is download the app as a ZIP file from AI Studio and extract it in a folder on your server. Then you need to run a few commands:
npm install
This will install npm in the folder where you extracted the zip files.
npm run build
This will generate a dist folder with the app ready to run.
chown -R www-data:www-data .
This changes the owner on all files to www-data. (Or whatever user has access.)
systemctl restart nginx
Just restart nginx to make the new distribution active.
In the nginx configuration file, you need to set the root for the website to {extracted-folder}/dist so nginx can find the correct directory. Keep in mind that additional files for your project (like images and text files) need to be in a /public folder of your IA Studio project, else these won’t be sent to the distribution folder.
As for a guide to help with this. Google Gemini can be quite useful to help you with this, including analyzing any errors you get. I generally have one tab open for AI Studio and a second for Gemini when working through problems.
I use a simple MSI Cuby 5 desktop computer with a 4 TB SSD and 64 GB RAM running Ubuntu 24.04 and this is just for me testing my many projects. One of them is on the .org domain for my name (katje org) that is basically made with AI Studio and C# for the backend.
Thank you but your screenshots are not in english> it will be cool if you can update the tutorials in english especially the steps taken at the webhosting coy you recommended.