https://kotlinlang.org logo
#compose-web
Title
# compose-web
k

Kailash Sharma

03/30/2023, 10:32 AM
I have a compose web project. I want to deploy it on railway... can anyone help me please
f

Filip Wiesner

03/30/2023, 10:51 AM
I was trying to do the same but did not succeed 😕 I couldn't get the index page load (other paths worked) but that might be my lack of knowledge with nginx and docker. You can try this template tho. You might have more luck/skill than me
k

Kailash Sharma

03/30/2023, 10:52 AM
Sure will try it out. Thanks
d

David Herman

03/30/2023, 5:26 PM
I wonder if Kobweb could help here? See also: https://bitspittle.dev/blog/2022/staticdeploy (Kobweb lets you export a static layout for your C4W site). If your project has already gone somewhat far w/o Kobweb though it may be a pain to add it in after the fact. But could be worth running
kobweb create app
on the side and see if you can upload that to railway easily as a test. (You can learn more about Kobweb at https://github.com/varabyte/kobweb if curious)
206 Views