Is there any guide to deploy kobweb on azure virtu...
# kobweb
a
Is there any guide to deploy kobweb on azure virtual linux, i tried myself but not able to, even listening to port 8080 but not able to access it from the public IP(Ports are allowed by the firewall)
d
No guide for azure at the moment. Just render via docker https://bitspittle.dev/blog/2023/cloud-deploy
a
Means Render is the only way?
d
Oh no not at all
Just it's the only guide
Kobweb is just ktor
a
I thought at least I could run as a development mode in linux server to explore all these things
d
There's no reason it shouldn't work.
Maybe look online for how to run a ktor server on Azure?
Try running a dummy ktor server in your environment and if that works, then next thing you need to do is
kobweb export --env prod
your site and then, after exporting, run
./kobweb/server/start.bat
(if windows) or
start.sh
(if linux)
a
I was trying with docker also but it failed at the line of kobweb export --notty inside the dockerfile
And Kobweb export --env prod getting error of, Error:no such option : "--env"
Thanks, i found the solution. In case if i will have any doubt i will ask....:)
d
You only need the env parameter when running Kobweb
👍 1
There's no such thing as a dev export in other words
👍 1