-
Notifications
You must be signed in to change notification settings - Fork 45
Interacting with the Linode Server
The Galapagos/Linode/Play server is accessible via browser here. Should you seek to ssh into the server, you should ask Jason to create an account for you. After that, the host that you will ssh into will be the following: li425-91.members.linode.com. (A nicer name may be forthcoming.)
After sshing in, you'll probably want to connect to the primary Play server. You are asked not to launch additional Play instances, though, since this Linode instance isn't exactly a beast of mythological proportions. Instead, you should only really interact with the server that runs on port 9000. The code for it is in /usr/local/Galapagos. Please do not use sudo in that directory.
If you wish to view the server's log file, you can find it at ./target/universal/stage/logs/application.log. For other instructions, please read the ./README.SERVER.md file. As much as we'd like to avoid the usage of sudo, running the server with sudo play start may still be necessary for you.
In order to update the server to the latest code, it's generally wise to restart the machine before relaunching Play (since consecutive launchings of Play have been correlated with "out of memory" errors). In order to restart the machine, please run /usr/local/Galapagos/shutdown.sh to safely shutdown Play, and then sudo reboot to restart the machine.
Once the server is back online, you must then navigate to /usr/local/Galapagos and run ./startup.sh to launch the server anew. Make sure that you disconnect from the Play server (ctrl+d) before disconnecting from the machine.
(Certainly, a lot of this could be automated by anyone who cared to do so.)