A
A
and1x2021-03-20 19:04:10
Python
and1x, 2021-03-20 19:04:10

How to deploy and link two apps on Heroku?

Good afternoon. I'll get right to the point:
There are two applications, a Go socket server that accepts and outputs
Python-flask JSON to the console, which, when going to /test, sends a JSON message to the socket at the address/port specified in env.

Actually, the question to which I still did not find an answer a month later: how, having two git repos with these two applications, deploy them on Heroku, and even so that messages could be sent between them via sockets?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2021-03-23
@2ord

https://devcenter.heroku.com/articles/how-heroku-works
Then, in the environment variables of one application, specify the URL of another, so that it knows where to send data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question