a month ago
I have been trying to get this working for the past like 10 hours and nothing has worked from the agent ai, outside ais, or research. I made a store on my pc that was hosted locally, and I wanted to make it so it wasn't local anymore, so I could access it from anywhere. I uploaded everything to github, and have been trying ever since to get my backend on here, so I can access my medusa admin portal to edit the store, and then set up the storefront on somewhere and be able to connect the two. For the past day I have been getting all sorts of errors, but the help agent has been able to get passed most of them. For whatever reason, nothing seems to be fixing this error of "Could not find index.html in the admin build directory. Make sure to run 'medusa build' before starting the server." What am I doing wrong? What is the ai doing wrong? Is it even possible to get my admin portal onto Railway? I purchased the pro plan to do so, but so far I haven't even gotten it up and running.
1 Replies
a month ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • about 1 month ago
a month ago
You'll need to use some kind of proxy to host a static site.
You can use Caddy or Nginx. To make it easier, you can package the entire project into a Dockerfile.
You can also use Bun or Serve (NPM packages) too.
You should also make sure to run medusa build during the build phase.