Installation
Installation and requirements guide
Server prerequisites
Docker
Linux
The Monarch server was primarily developed and tested on Ubuntu. Native installation of the server will only work on Linux systems (specifically, systems that allow direct access to Docker containers via interface). However, the Monarch client has been tested on and can run on Mac OS and Windows.
Note: Installing Monarch in a container will work on other Unix-like systems, however, you'd need to specify which ports you'd be likely to open in the install script, so that the host machine (if any) would give external connections access to the container. These ports would be your HTTP(S) and multiplayer endpoints, specified in the Monarch configuration file.
For system requirements, see the requirements for Docker Desktop on Linux.
Installing Monarch server
You can install Monarch from GitHub. Once cloned, with bash, run scripts/install-monarch.sh
.
The Docker network for monarch containers, encryption keys / certificates as well as the SQL container instance for storage will be set up automatically. The monarch binary is saved as $HOME/.local/bin/monarch
.
Alternatively, you may install monarch in a Linux container with scripts/docker-install-monarch.sh
. In this case, Monarch is started with a script in $HOME/.local/bin
called monarch.sh
. It is important to remember that if this container is running in a host, then it will need to be given access to certain ports for HTTP(S) and multiplayer listeners.
Once installation has finished, you may wish to edit the default configuration placed in $HOME/.monarch/monarch.yaml.
Installing Monarch client
Runs on
Windows
Linux
MacOS
The monarch client is just a binary, which can be downloaded from the releases page. All that's required to start the client is the configuration file generated by the server.
Last updated