Report this

What is the reason for this report?

Deploy from public repo with 2 different apps

Posted on October 12, 2024

Hi all,

I’ve created new app (and it’s publicly available as GitHub repo), but the problem is that creating app from GitHub repo doesnt work in my case somehow: while at Create Resource From Source Code page, selecting Github as service provider + repo name + source dir as / leads to no component detected.

In general, root dir of repo consists only of 3 elements: README, /frontend and /backend. I start frontend app (nodeJS + Svelte) via cd frontend && npm run dev (being in / dir), and backend app (Python + FastAPI, Dockerfile + Docker-compose, K8s is also used, reqs.txt available) via cd backend && docker-compose up --build (also being in / dir).

I tried setting source dir to /frontend / /backend : it helps, but detects either of apps, not both.

It seems like I’m doing something completely wrong, hence the question: how do I deploy a project, service provider of which is GitHub, with multiple apps inside?

===

If I’ve missed some tutorial covering this case - sorry for that, just drop a link :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.