Closed agrignard closed 3 years ago
@agrignard getting a dedicated VM from necsys is quite simple, send a request to help@media.mit.edu . Running it on the same server as cityIO might have negative effects since both apps might fight on the same resources. Actually @doorleyr is now migrating his module to a dedicate VM for the same reason.
They even have a docker image!
Totally headless, running inside a docker container, and entering idle mode as soon as the update is done. We are making incredible progress on this thing!
The documentation still needs some love, but the three main commands are here:
https://github.com/CityScope/CS_Simulation_GAMA/tree/master/CS_CityScope_GAMA/models/cityIO
@agrignard or @RELNO can you request a VM for GAMABrix?
Wha @crisjf ! Congrats! you're on fire!
@doorleyr will give @agrignard and me access to the CS_Modules vm
I'm gonna close this for now, as the issue is solved and the only remaining thing is to deploy it in a VM for continuous testing.
I created a separate script for the current version of the random walker model and linked it to dungeonmodule
table
https://cityscope.media.mit.edu/CS_cityscopeJS/?cityscope=dungeonmodule
I'll leave this running continuously in csmodules.media
so we can test frequently.
Now that the bridge has been rebuild we will need to see how to set up a server to have Gama running in a headless mode.
I am not sure what is the best way to do it, I guess to having it running on cityIO server, maybe it would make sense to ask nexus for a dedicated GAMA server, but not sure how to do it.
@crisjf if you want to have a look at the headless here is the doc https://gama-platform.github.io/wiki/Headless
Maybe it would make sense to have a meta script in python that can handle the triggering of GAMA.