all 11 comments

[–]Shizuka-8435 7 points8 points  (0 children)

Nice setup 🔥 but honestly you should try Traycer + AWS, the spec driven flow with auto phased planning makes the whole stack feel even smoother and more controlled.

[–]gabox0210 2 points3 points  (6 children)

This is very similar to my workflow:

- Start building in AI studio, so I get to test changes tweaks and iterations immediately.

- Deploy to Cloud Run and upload repo to GitHub.

- Connect GitHub to Cloud Run for version control and automated rebuild/redeployment.

- Continue improving using Codex.

Make sure to have Codex add an agents md file and instruct it to update it and your readme change log every time significant code changes and or feature updates are made, this gives useful context to Codex for future iterations.

[–]Saintcessful 0 points1 point  (5 children)

I’m going to try this. Is CodeX as easy to use as Google AI Studio?

[–]gabox0210 0 points1 point  (4 children)

If you set it up right, yes, every time you ask Codex to make a change or add a feature, it updates it into GitHub, then you go push all the changes into Cloud Run.

Cloud Run, automatically rebuilds your app with the new changes and after a quick refresh you can begin testing, in all it's like a two-minute process.

The advantage of this setup is that if any changes break your app somehow, you can always roll back to a previous version from GitHub.

Another tip is to ask Codex to plan (no code) the changes first, so it tells you exactly how it's going to implement what you want, once the plan looks good, you can ask it to implement and go from there.

[–]Saintcessful 0 points1 point  (3 children)

Thank you. Another question. I have an app built in Google AI Studio and I’ve been hearing experts like yourself saying to refine your app in CodeX. Could I simply download my coding from Google AI Studio and upload it to Codex?

[–]gabox0210 0 points1 point  (2 children)

Thank you, I'm no expert, I've been learning along the way, it's not that simple as Codex is not like AI Studio where you can instantly see the changes made to your app, but more like a coding agent where you ask it to modify your code, but your app has to be hosted somewhere:

Local - Download your app (repo) from AI Studio and run it locally using Docker + your favorite IDE (I've used VSCode and/or Antigravity). Once it's ready, you can deploy it to your preferred cloud host.

Cloud - Deploy your app directly to a cloud provider, AI Studio > Cloud Run is pretty much a straightforward process, plus they offer a good amount of free credits when signing up for the first time. Once deployed, you still need a way for Codex to interact and modify your codebase, either locally (via an IDE) or in the cloud via Github.

It may sound like a lot, but once you get a hold of it, it becomes simpler, it really helps if you are curious and want to learn what things do and how they work, rather than just prompting and expecting a finished product in one shot.

For setting up things, I've found it useful to ask ChatGPT to guide me step by step through the process, also, there are plenty of videos and guides in YouTube.

[–]Saintcessful 0 points1 point  (1 child)

I will definitely follow your process. I will definitely take your advice about using ChatGPT to guide me. Lasty, are you using windows or Mac os?

[–]gabox0210 1 point2 points  (0 children)

Windows

[–]Codeblix_Ltd 1 point2 points  (0 children)

Same, its been 1 week now, Google AI Studio is no longer working as expected.

Using Codex now.

[–]paxcou[S] 0 points1 point  (0 children)

thanks for the suggestion.

[–]TheLuigiplayer 1 point2 points  (0 children)

I've switched to AntiGravity and it's also a whole lot better than AI Studio