Server
To run a Gama Headless SERVER
-
From the release, go to the
headlessdirectory in your Gama installation and run the scriptgama-headless.sh(orgama-headless.bat) with the argument-socketfollowed by the socket you want your Gama server to run on.For example on Mac OS you could do:
cd Gama.app/Contents/headlessto move to the right directory, then run the script to listen on port
6868with:bash gama-headless.sh -socket 6868 -
From the source code, in Eclipse: Instantiate a headless server by running
msi.gama.headless.id4_fullwith the following argument-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -socket 6868(you can specify any other port)
The current javascript client version is being developed in this repository gama.client
Hello World Visualization in MapBox​
- Clone the repository gama.client
- In
Javascript/gama_client.jsedit the following variableABSOLUTE_PATH_TO_GAMAto your local path (e.gvar ABSOLUTE_PATH_TO_GAMA = '/Users/arno/'; - open
Javascript/index.htmlin a browser
Hello World Message example​
- In
chain_messages.jsedit the following variableABSOLUTE_PATH_TO_GAMAto your local path (e.gvar ABSOLUTE_PATH_TO_GAMA = '/Users/arno/'; - open
Javascript/message_examplein a browser