0

I understand from here that you can use a browser to display a repast model by running it on local server. I would like to run a repast browser model on a Linux VPS server and allow public access via an URL. Is this possible at this moment? What are the next steps?

I am a beginner with Linux servers but I assume it would take something like this:

  1. Install Java on the server
  2. Transfer the Repast model to the server
  3. Connect the URL to run a (to that user unique) model on the server
  4. Connect the URL to display the model
Qualmy
  • 115
  • 5
  • 1
    You could run each Repast Browser Model instance in their own tmux/screen session (assuming Repast support such feature) and different ports, then have nginx/apache forward http request for certain paths into their associated ports. If you want the user to be able to customize which model they load at runtime, then you'd have to build a webapp that pass user input into Repast launch parameter. – Martheen Jan 09 '21 at 10:22
  • Thanks for the information Martheen. It sounds like this is not common practice yet. Do you know of anyone who did this? Or a website with an example? – Qualmy Jan 10 '21 at 16:02
  • 1
    https://www.nginx.com/resources/wiki/start/topics/examples/javaservers/ – Martheen Jan 10 '21 at 16:07
  • Thanks for the link. So nginx.com is a cloud service where I can host the application. I am planning to run it on a VPS Ubuntu Linux Server I'll buy. However, the procedure you gave might relate to that. – Qualmy Jan 12 '21 at 14:18
  • 1
    Nginx is an *app*, you can install it on any Linux server. – Martheen Jan 12 '21 at 21:57

0 Answers0