Can I start my Phoenix application automatically from within the source code?

Hi there,

I currently start my Phoenix application using the mix phx.server command. However, I would like to automatically start my Phoenix application when I start another seperate application I developed. Is this possible?

Why not just write a little shell script that manages them both?

1 Like

If you set server: true in your application’s endpoint config it will run the webserver.

2 Likes