running sage as a server
I want to build a server with SageMath, it should take in code, execute it and send back the result. SageMath has a Python interface with which I thought this could be achieved. I don't really know Python that well but I found a good starting point here:
The problem is that I wanted to run this in a docker container so and just map the port but this doesn't seem to be working.
My question is, is there a better way of doing this because the post is very old and I have a lot of trouble getting it to run.
Related questions (including this one):